onPressed

fun onPressed(    connectFlags: <Error class: unknown class> = ConnectFlags(0u),     handler: (<Error class: unknown class>, <Error class: unknown class>) -> Unit): <Error class: unknown class>(source)

Emitted whenever a press goes unmoved/unreleased longer than what the GTK defaults tell.

Parameters

connectFlags

a combination of ConnectFlags

handler

the Callback to connect. Params: x the X coordinate where the press happened, relative to the widget allocation; y the Y coordinate where the press happened, relative to the widget allocation