MenuManager.merge
uint merge(string menuId, gio.menu_model.MenuModel menuModel)Note that menu_model is not retained, a copy of it is made.
Parameters
menuId | the identifier of the menu |
menuModel | the menu model to merge |
Returns
the merge-id which can be used with [panel.menu_manager.MenuManager.remove]