When a context menu is shown for a tab, it will be constructed from the provided menu model. Use the adw.tab_view.TabView.setupMenu signal to set up the menu actions for the particular tab.
TabView.menuModel
Get menuModel property.
Returns
Tab context menu model.
Set 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 adw.tab_view.TabView.setupMenu signal to set up the menu actions for the particular tab. |