drag_cancel


Description:

public signal bool drag_cancel (Drag drag, DragCancelReason reason)

The drag_cancel signal is 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:

drag

the Drag object

reason

information on why the drag failed

Returns:

true if the failed drag operation has been already handled