Method

GtkImageget_gicon

since: 2.14

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

Type: GIcon

Place to store a GIcon, or NULL.

The argument will be set by the function.
The argument can be NULL.
The returned data is owned by the instance.
size

Type: GtkIconSize*

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

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