On Sun, Apr 30, 2006 at 10:25:37PM +0100, Rob Kendrick wrote: > On Mon, 2006-04-10 at 15:30 +0100, Rob Kendrick wrote: > > > > Is it possible to seed a GdkPixbufAnimation from inline data created by > > gdk-pixbuf-csource? There doesn't appear to be the corresponding > > function to gdk_pixbuf_from_pixdata(). > > > > Also, is it possible to stop an animation being displayed in a GtkImage > > widget, and restart it later, without replacing the image in it with a > > static one? > > Nobody appeared do - did this message even reach the list?
It did, apparently no one wants to write: No. The second is a matter of gdk_pixbuf_animation_get_static_image() + gtk_image_set_from_pixbuf() however. Unless you want more control over *which* animation frame will be displayed. And in that case you'd better set the static image yourself anyway. And the first is a matter of generating csource for all involved pixbufs and then using gdk_pixbuf_simple_anim_add_frame() in a loop. It's 2.8+ only and I have never actually tried it, but this is what the documentation suggests. So, not a big deal in either case. Yeti -- That's enough. _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list