Method

GtkImageget_icon_name

Declaration [src]

void
gtk_image_get_icon_name (
  GtkImage* image,
  const gchar** icon_name,
  GtkIconSize* size
)

Description [src]

Gets the icon name and size being displayed by the GtkImage. The storage type of the image must be GTK_IMAGE_EMPTY or GTK_IMAGE_ICON_NAME (see gtk_image_get_storage_type()). The returned string is owned by the GtkImage and should not be freed.

Available since:2.6
Gets propertyGtk.Image:icon-name

Parameters

icon_name const gchar**
 

Place to store an icon name, 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.
 The value is a NUL terminated UTF-8 string.
size GtkIconSize*
 

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

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