drag_cancel


Description:

public signal bool drag_cancel (Drag drag, DragCancelReason reason)

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 `GdkDrag` object

reason

information on why the drag failed

Returns:

true if the failed drag operation has been already handled




2022 vala-language.org