1XmDragStart(library call) XmDragStart(library call)
2
3
4
6 XmDragStart — A Drag and Drop function that initiates a drag and drop
7 transaction
8
10 #include <Xm/DragDrop.h>
11 Widget XmDragStart(
12 Widget widget,
13 XEvent *event,
14 ArgList arglist,
15 Cardinal argcount);
16
18 XmDragStart initiates a drag operation. This routine returns the Drag‐
19 Context widget that it initializes for the associated drag transaction.
20 The toolkit is responsible for freeing the DragContext when the drag
21 and drop transaction is complete.
22
23 widget Specifies the ID of the smallest widget and/or gadget that
24 encloses the source elements selected for a drag operation.
25
26 event Specifies the XEvent that triggered the drag operation. This
27 event must be a ButtonPress event.
28
29 arglist Specifies the argument list. Any XmDragContext resources not
30 specified in the argument list are obtained from the resource
31 database or are set to their default values.
32
33 argcount Specifies the number of attribute/value pairs in the argument
34 list (arglist)
35
36 For a complete definition of DragContext and its associated resources,
37 see XmDragContext(3).
38
40 Returns the ID of the DragContext widget that controls this drag and
41 drop transaction. Returns NULL if the drag cannot be initiated.
42
44 XmDragCancel(3) and XmDragContext(3).
45
46
47
48 XmDragStart(library call)