Package: gdk-pixbuf

Function gdk-pixbuf:pixbuf-animation-iter-pixbuf

Lambda List

gdk-pixbuf:pixbuf-animation-iter-pixbuf (iter)

Arguments

Return Value

The gdk-pixbuf:pixbuf object to be displayed.

Details

Gets the current pixbuf which should be displayed. The pixbuf might not be the same size as the animation itself which can be get with the gdk-pixbuf:pixbuf-animation-width and the gdk-pixbuf:pixbuf-animation-height functions. This pixbuf should be displayed for gdk-pixbuf:pixbuf-animation-iter-delay-time milliseconds.

The caller of this function does not own a reference to the returned pixbuf. The returned pixbuf will become invalid when the iterator advances to the next frame, which may happen anytime you call the gdk-pixbuf:pixbuf-animation-iter-advance function. Copy the pixbuf to keep it, do not just add a reference, as it may get recycled as you advance the iterator.
 

See also

#2024-11-11