icon on a #GMenuItem associated with a #GAction, or [gtk.container.Container.add] to add a #GtkImage to a #GtkButton
Action.setGicon
void setGicon(gio.icon.Icon icon)Sets the icon of action.
Parameters
icon | the #GIcon to set |
Deprecated
Use #GAction instead, and [gio.menu_item.MenuItem.setIcon] to set an