Action.setIconName

Sets the icon name on action

More...
class Action
void
setIconName
(
string iconName
)

Parameters

iconName string

the icon name 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