create_icon


Description:

[ Version ( since = "2.4" ) ]
public unowned Widget create_icon (IconSize icon_size)

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

Note:

Use set_icon to set an icon on a MenuItem, or add to add a Image to a Button

Parameters:

this

the action object

icon_size

the size of the icon (IconSize) that should be created.

Returns:

a widget that displays the icon for this action.