drag_failed


Description:

[ Version ( since = "2.12" ) ]
public virtual signal bool drag_failed (DragContext context, DragResult result)

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.




2022 vala-language.org