When a context menu is shown for a tab, it will be constructed from the provided menu model. Use the signal@TabView::setup-menu signal to set up the menu actions for the particular tab.
TabView.menuModel
gio.menu_model.MenuModel menuModel() @propertyGet menuModel property.
Returns
Tab context menu model.
void menuModel(gio.menu_model.MenuModel propval) @propertySet menuModel property.
Parameters
propval | Tab context menu model. When a context menu is shown for a tab, it will be constructed from the provided menu model. Use the signal@TabView::setup-menu signal to set up the menu actions for the particular tab. |