connectPressed
fun connectPressed(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (nPress: Int, x: Double, y: Double) -> Unit): <Error class: unknown class>
Emitted whenever a button or touch press happens.
Parameters
connectFlags
A combination of ConnectFlags
handler
the Callback to connect. Params: nPress
how many touch/button presses happened with this one; x
The X coordinate, in widget allocation coordinates; y
The Y coordinate, in widget allocation coordinates