connectClosed

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

Emitted when the connection to the windowing system for @display is closed.

Parameters

connectFlags

A combination of ConnectFlags

handler

the Callback to connect. Params: isError true if the display was closed due to an error