Gtk.Action.prototype.create_menu
function create_menu():Gtk.Widget { // Gjs wrapper for gtk_action_create_menu() }
If action provides a Gtk.Menu widget as a submenu for the menu item or the toolbar item it creates, this function returns an instance of that menu.
Since 2.12
- Returns
the menu item provided by the action, or null.