Menu.prepend
void prepend(string label = null, string detailedAction = null)Convenience function for prepending a normal menu item to the start of menu. Combine gio.menu_item.MenuItem.new_ and gio.menu.Menu.insertItem for a more flexible alternative.
Parameters
label | the section label, or null |
detailedAction | the detailed action string, or null |