Menu.appendSubmenu

void appendSubmenu(string label, gio.menu_model.MenuModel submenu)

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.

Parameters

labelthe section label, or null
submenua #GMenuModel with the items of the submenu