Method

GtkImageget_pixbuf

Declaration [src]

GdkPixbuf*
gtk_image_get_pixbuf (
  GtkImage* image
)

Description [src]

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

Gets propertyGtk.Image:pixbuf

Return value

Returns: GdkPixbuf
 

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

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