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.
this |
a tab view |
menu_model |
a menu model |