Pike v8.1 release 6

Method GTK2.GdkPixbufAnimation()->get_iter()


Method get_iter

GTK2.GdkPixbufAnimationIter get_iter()

Description

Get an iterator for displaying an animation. The iterator provides the frames that should be displayed at a given time.

Returns the beginning of the animation. Afterwards you should probably immediately display the pixbuf return by GDK2.PixbufAnimationIter->get_pixbuf(). Then, you should install a timeout or by some other mechanism ensure that you'll update the image after GDK2.PixbufAnimationIter->get_delay_time() milliseconds. Each time the image is updated, you should reinstall the timeout with the new, possibly changed delay time.

To update the image, call GDK2.PixbufAnimationIter->advance().