onCreateTab
fun onCreateTab(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: () -> TabPage): <Error class: unknown class>(source)
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