Gtk.Widget::drag-failed
function callback(widget, context:Gdk.DragContext, result:Gtk.DragResult, ):Boolean;
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.
Since 2.12
- widget
instance of Gtk.Widget that is emitting the signal
- context
the drag context
- result
the result of the drag operation
- Returns
true if the failed drag operation has been already handled.