TabView.menuModel

gio.menu_model.MenuModel menuModel() @property

Get menuModel property.

Returns

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.

void menuModel(gio.menu_model.MenuModel propval) @property

Set menuModel property.

Parameters

propvalTab 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.