Re: Displayig gif file...


Refer gdk-pixbuf library.

a. GdkPixbuf *gdk_pixbuf_new_from_file (const char *filename);
b. void gdk_pixbuf_render_pixmap_and_mask (GdkPixbuf *pixbuf,
GdkPixmap **pixmap_return, GdkBitmap **mask_return,
int alpha_threshold);

c. GtkWidget* gtk_pixmap_new(GdkPixmap *pixmap,GdkBitmap *mask);

show the GtkWidget* in window.

Hope it helps...

On Wed, 27 Mar 2002, Deekshit Mantampady wrote:

> Hi all,
> I am interested in knowing how to display gif files, in a GTK
> window. Can anybody help me in this regard. I was not able to find any
> API in the list, which I can use for the purpose.
> Thakning you in advance
> Regards
> Deekshit M