Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 08-21-2008, 06:34 AM   #1
Registered: Jul 2008
Posts: 78

Rep: Reputation: 15
how to use animation pixbuf ".gif" in gtk

hi all
i would like to put an animation image in the gtk window.
is it possible.
can you give me an example program for this.
Old 08-21-2008, 01:28 PM   #2
LQ Newbie
Registered: Aug 2008
Posts: 1

Rep: Reputation: 0
This would do the work:

GdkPixbufAnimation * animation;
GtkWidget * image;


animation = gdk_pixbuf_animation_new_from_file ("loading.gif", NULL);
gtk_image_set_from_animation (GTK_IMAGE(image), animation);



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: DreamWorks Animation "Shrek the Third": Linux Feeds an Ogre LXer Syndicated Linux News 0 06-06-2007 09:16 AM
LXer: DreamWorks Animation"Shrek the Third": Linux Feeds an Ogre LXer Syndicated Linux News 0 06-06-2007 08:31 AM
The problem about "cairo" in installing of "GTK" :( zhuqlfeixia Linux - Hardware 1 01-28-2006 04:12 PM
problem "make"ing gtk+ "/usr/bin/env: perl -w" caid Linux - Newbie 8 07-29-2005 05:51 AM
"GIF-LIB error: Wrong record type detected" Megamieuwsel Linux - General 7 04-29-2004 05:38 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:47 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration