connectCreateTab

fun connectCreateTab(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: () -> TabPage): <Error class: unknown class>

Emitted when a tab needs to be created.

This can happen after the new tab button has been pressed, see property@TabOverview:enable-new-tab.

The signal handler is expected to create a new page in the corresponding class@TabView and return it.

Since

1.3

Parameters

connectFlags

A combination of ConnectFlags

handler

the Callback to connect. Returns the newly created page