Gtk.Action.prototype.create_tool_item

function create_tool_item():Gtk.Widget {
    // Gjs wrapper for gtk_action_create_tool_item()
}

Creates a toolbar item widget that proxies for the given action.

Since 2.4

Returns

a toolbar item connected to the action.