connectDragCancel

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

Emitted on the drag source when a drag has failed.

The signal handler may handle a failed drag operation based on the type of error. It should return true if the failure has been handled and the default "drag operation failed" animation should not be shown.

Parameters

connectFlags

A combination of ConnectFlags

handler

the Callback to connect. Params: drag the GdkDrag object; reason information on why the drag failed. Returns true if the failed drag operation has been already handled