MenuManager.merge

Note that menu_model is not retained, a copy of it is made.

class MenuManager
uint
merge

Parameters

menuId string

the identifier of the menu

menuModel gio.menu_model.MenuModel

the menu model to merge

Return Value

Type: uint

the merge-id which can be used with panel.menu_manager.MenuManager.remove