Image.getIconName

string getIconName()

Gets the icon name and size being displayed by the [gtk.image.Image].

The storage type of the image must be [gtk.types.ImageType.Empty] or [gtk.types.ImageType.IconName] (see [gtk.image.Image.getStorageType]). The returned string is owned by the [gtk.image.Image] and should not be freed.

Returns

the icon name