setMenuModel

fun setMenuModel(menuModel: <Error class: unknown class>? = null)

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 signal@TabView::setup-menu signal to set up the menu actions for the particular tab.

Parameters

menuModel

a menu model