Hi, Thank you for your reply. I think the API that you are reffering is not avaialble on gtk 1.2. May be you are referring 2.0. From the API reference I found another one called as "GtkWidget* gtk_image_new_from_file (const gchar *filename);". I think this one will be better, If you know about it can you please reply me back with the cons and pros of these two interfaces. Regards Deekshit M AKILA M wrote:
Hi 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... Akila 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
Attachment:
InterScan_Disclaimer.txt
Description: Text document