connectEvent

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

Emitted when GDK receives an input event for @surface.

Parameters

connectFlags

A combination of ConnectFlags

handler

the Callback to connect. Params: event an input event. Returns true to indicate that the event has been handled