Action.setGicon

Sets the icon of action.

More...
class Action
void
setGicon

Parameters

icon gio.icon.Icon

the #GIcon to set

Detailed Description

Deprecated: Use #GAction instead, and gio.menu_item.MenuItem.setIcon to set an icon on a #GMenuItem associated with a #GAction, or gtk.container.Container.add to add a #GtkImage to a #GtkButton