Button.getIconName

string getIconName()

Returns the icon name of the button.

If the icon name has not been set with [gtk.button.Button.setIconName] the return value will be null. This will be the case if you create an empty button with [gtk.button.Button.new_] to use as a container.

Returns

The icon name set via [gtk.button.Button.setIconName]