set_menu_model


Description:

public void set_menu_model (MenuModel? menu_model)

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




2022 vala-language.org