Package: gtk

Function gtk-action-create-icon

Lambda List

gtk-action-create-icon (action size)

Arguments

action -- a gtk-action object
size -- a value of the gtk-icon-size enumeration for the size of the icon that should be created

Return Value

A gtk-widget object that displays the icon for this action.

Details

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

Warning

The function gtk-action-create-icon has been deprecated since version 3.10 and should not be used in newly written code. Use the function g-menu-item-set-icon to set an icon on a g-menu-item object, or the function gtk-container-add to add a gtk-image widget to a gtk-button widget.
 

See also

2021-7-20