XmDragCancel - Man Page

A Drag and Drop function that terminates a drag transaction

Synopsis

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

Description

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

dragcontext

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)​.