set_menu_model
Description:
Sets the tab context menu model for this.
When a context menu is shown for a tab, it will be constructed from the provided menu model. Use [signal@TabView:HdyTabView:setup-menu
] signal to set up the menu actions for the particular tab.
Parameters:
this |
a tab view |
menu_model |
a menu model |