drag_failed


Description:

public virtual signal bool drag_failed (DragContext p0, DragResult p1)

The drag_failed signal is emitted on the drag source when a drag has failed.

The signal handler may hook custom code to handle a failed DnD operation based on the type of error, it returns true is the failure has been already handled (not showing the default "drag operation failed" animation) , otherwise it returns false.

Parameters:

context

the drag context

result

the result of the drag operation

Returns:

true if the failed drag operation has been already handled.