Method
AdapTabViewset_menu_model
Declaration [src]
void
adap_tab_view_set_menu_model (
AdapTabView* self,
GMenuModel* menu_model
)
Description [src]
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 AdapTabView::setup-menu
signal to set up
the menu actions for the particular tab.
Sets property | Adap.TabView:menu-model |
Parameters
menu_model
-
Type:
GMenuModel
A menu model.
The argument can be NULL
.The data is owned by the caller of the method.