Method
GtkImageget_icon_name
since: 2.6
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 property | Gtk.Image:icon-name |
Parameters
icon_name
-
Type:
const gchar**
Place to store an icon name, or
NULL
.The argument will be set by the function. The argument can be NULL
.The returned data is owned by the instance. The value is a NUL terminated UTF-8 string. size
-
Type:
GtkIconSize*
Place to store an icon size (
GtkIconSize
), orNULL
.The argument will be set by the function. The argument can be NULL
.