DOKK / manpages / debian 12 / libmotif-dev / XmDragCancel.3.en
XmDragCancel(3) Library Functions Manual XmDragCancel(3)

XmDragCancel — A Drag and Drop function that terminates a drag transaction "XmDragCancel" "Drag and Drop functions" "XmDragCancel"

#include <Xm/DragDrop.h>
void XmDragCancel(
Widget dragcontext);

XmDragCancel terminates a drag operation and cancels any pending actions of the specified DragContext. This routine can only be called by the initiator client.

Specifies the ID of the DragContext widget associated with the drag and drop transaction to be terminated

For a complete definition of DragContext and its associated resources, see XmDragContext(3).

XmDragContext(3) and XmDragStart(3).