Package: gdk-pixbuf

Function gdk-pixbuf:pixbuf-animation-is-static-image

Lambda List

gdk-pixbuf:pixbuf-animation-is-static-image (animation)

Arguments

animation -- a gdk-pixbuf:pixbuf-animation object

Return Value

True if the animation was really just an image.

Details

If you load a file with the gdk-pixbuf:pixbuf-animation-new-from-file function and it turns out to be a plain, unanimated image, then this function will return true. Use the gdk-pixbuf:pixbuf-animation-static-image function to retrieve the image.

Warning

This function is deprecated since 2.44. Use a different image loading library for animatable assets.
 

See also

#2026-09-26