connectEnter

fun connectEnter(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (x: Double, y: Double) -> <Error class: unknown class>): <Error class: unknown class>

Emitted on the drop site when the pointer enters the widget.

It can be used to set up custom highlighting.

Parameters

connectFlags

A combination of ConnectFlags

handler

the Callback to connect. Params: x the x coordinate of the current pointer position; y the y coordinate of the current pointer position. Returns Preferred action for this drag operation or 0 if dropping is not supported at the current @x,@y location.