Action.createIcon

This function is intended for use by action implementations to create icons displayed in the proxy widgets.

More...

Parameters

iconSize gtk.types.IconSize

the size of the icon (#GtkIconSize) that should be created.

Return Value

Type: gtk.widget.Widget

a widget that displays the icon for this action.

Detailed Description

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