Action.getGicon

gio.icon.Icon getGicon()

Gets the gicon of action.

Returns

The action’s #GIcon if one is set.

Deprecated

Use #GAction instead, and

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