connectCloseRequest

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

Emitted when the user clicks on the close button of the window.

Parameters

connectFlags

A combination of ConnectFlags

handler

the Callback to connect. Returns true to stop other handlers from being invoked for the signal