Menu.appendSubmenu

Convenience function for appending a submenu menu item to the end of menu. Combine g_menu_item_new_submenu() and g_menu_insert_item() for a more flexible alternative. Since 2.32

class Menu
void
appendSubmenu

Parameters

label string

the section label, or NULL. [allow-none]

submenu MenuModel

a GMenuModel with the items of the submenu

Meta