TabView.setMenuModel

Sets the tab context menu model for self.

When a context menu is shown for a tab, it will be constructed from the provided menu model. Use the signalTabView::setup-menu signal to set up the menu actions for the particular tab.

class TabView
void
setMenuModel

Parameters

menuModel gio.menu_model.MenuModel

a menu model