Method

GtkImageget_animation

Declaration [src]

GdkPixbufAnimation*
gtk_image_get_animation (
  GtkImage* image
)

Description [src]

Gets the GdkPixbufAnimation being displayed by the GtkImage. The storage type of the image must be GTK_IMAGE_EMPTY or GTK_IMAGE_ANIMATION (see gtk_image_get_storage_type()). The caller of this function does not own a reference to the returned animation.

Return value

Type: GdkPixbufAnimation

The displayed animation, or NULL if the image is empty.

The returned data is owned by the instance.
The return value can be NULL.