Action.getIconName

string getIconName()

Gets the icon name of action.

Returns

the icon name

Deprecated

Use #GAction instead, and

[gio.menu_item.MenuItem.getAttributeValue] to get an icon from a #GMenuItem associated with a #GAction