Package: gtk
Function gtk:drag-cancel
Lambda Listgtk:drag-cancel (context) ArgumentsDetails
Cancels an ongoing drag operation on the source side.
If you want to be able to cancel a drag operation in this way, you need to
keep a pointer to the drag context, either from an explicit call to the gtk:drag-begin-with-coordinates function, or by connecting to the "drag-begin" signal. If the context argument does not refer to an ongoing drag operation, this function does nothing. If a drag is cancelled in this way, the result argument of the "drag-failed" handler is set to the :error value. | See also |
#2023-3-17