Gtk.Action.prototype.create_icon
function create_icon(icon_size:Number):Gtk.Widget { // Gjs wrapper for gtk_action_create_icon() }
This function is intended for use by action implementations to create icons displayed in the proxy widgets.
Since 2.4
- icon_size
the size of the icon that should be created.
- Returns
a widget that displays the icon for this action.