Declaration [src]

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

Returns: GdkPixbufAnimation

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

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