gdk-pixbuf-csource --raw test.gif > about.h
OS:LINUX (FC3)
PC:HP compaq d330
GTK2.0
i wanna use"gdk-pixbuf-csource --raw test.gif > about.h "
read a file "test.gif" into "about.h" ,It's OK
then in my programm:
#include "about.h"
GdkPixbuf *pix;
pix = gdk_pixbuf_new_from_inline(9216+24, my_pixbuf, TRUE, NULL);
image = gtk_image_new_from_pixbuf(pix);
when run my programm ,i can see the test.gif,but it can not move,just like
a simple picture,
i don't know why~~~~~~~~~
i want let a gif file can show in my window~~~~~~~~~~`
i suppose i set some parameter wrong, "--raw "
how to set???
i am puzzled~~~~~~~~~~
|