XmDragStart(3) | Library Functions Manual | XmDragStart(3) |
XmDragStart — A Drag and Drop function that initiates a drag and drop transaction "XmDragStart" "Drag and Drop functions" "XmDragStart"
#include <Xm/DragDrop.h> Widget XmDragStart( Widget widget, XEvent *event, ArgList arglist, Cardinal argcount);
XmDragStart initiates a drag operation. This routine returns the DragContext widget that it initializes for the associated drag transaction. The toolkit is responsible for freeing the DragContext when the drag and drop transaction is complete.
For a complete definition of DragContext and its associated resources, see XmDragContext(3).
Returns the ID of the DragContext widget that controls this drag and drop transaction. Returns NULL if the drag cannot be initiated.