Method

GtkImageget_gicon

Declaration [src]

void
gtk_image_get_gicon (
  GtkImage* image,
  GIcon** gicon,
  GtkIconSize* size
)

Description [src]

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

Available since:2.14
Gets propertyGtk.Image:gicon

Parameters

gicon GIcon
 

Place to store a GIcon, or NULL.

 The argument will be set by the function.
 The argument can be NULL.
 The data is owned by the caller of the function.
size GtkIconSize*
 

Place to store an icon size (GtkIconSize), or NULL.

 The argument will be set by the function.
 The argument can be NULL.