Menu.appendSubmenu

Convenience function for appending a submenu menu item to the end of menu. Combine gio.menu_item.MenuItem.newSubmenu and gio.menu.Menu.insertItem for a more flexible alternative.

class Menu
void
appendSubmenu

Parameters

label string

the section label, or null

submenu gio.menu_model.MenuModel

a #GMenuModel with the items of the submenu