Action.createIcon
gtk.widget.Widget createIcon(gtk.types.IconSize iconSize)This function is intended for use by action implementations to create icons displayed in the proxy widgets.
Parameters
iconSize | the size of the icon (#GtkIconSize) that should be created. |
Returns
a widget that displays the icon for this action.
Deprecated
Use [gio.menu_item.MenuItem.setIcon] to set an icon on a #GMenuItem,
or [gtk.container.Container.add] to add a #GtkImage to a #GtkButton