connectSetupMenu

fun connectSetupMenu(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (page: TabPage?) -> Unit): <Error class: unknown class>

Emitted when a context menu is opened or closed for @page.

If the menu has been closed, @page will be set to NULL.

It can be used to set up menu actions before showing the menu, for example disable actions not applicable to @page.

Parameters

connectFlags

A combination of ConnectFlags

handler

the Callback to connect. Params: page a page of @self