Image.getIconName

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

class Image
void
getIconName
(
out string iconName
,)

Parameters

iconName string

place to store an icon name, or NULL

size GtkIconSize

place to store an icon size (gtk.IconSize), or NULL

Meta