1XmGetDragContext(library call) XmGetDragContext(library call)
2
3
4
6 XmGetDragContext — A Drag and Drop function that retrieves the DragCon‐
7 text widget ID associated with a timestamp
8
10 #include <Xm/DragC.h>
11 Widget XmGetDragContext(
12 Widget refwidget,
13 Time timestamp);
14
16 XmGetDragContext returns the widget ID of the active DragContext asso‐
17 ciated with a given display and timestamp. A timestamp uniquely identi‐
18 fies which DragContext is active when more than one drag and drop
19 transaction has been initiated on a display. If the specified timestamp
20 matches a timestamp processed between the start and finish of a single
21 drag and drop transaction, the function returns the corresponding Drag‐
22 Context ID.
23
24 refwidget Specifies the ID of the widget that the routine uses to iden‐
25 tify the intended display. The function returns the ID of the
26 DragContext associated with the display value passed by this
27 widget.
28
29 timestamp Specifies a timestamp.
30
31 For a complete definition of DragContext and its associated resources,
32 see XmDragContext(3).
33
35 Returns the ID of the DragContext widget that is active for the speci‐
36 fied timestamp. Otherwise, returns NULL if no active DragContext is
37 found.
38
40 XmDragContext(3).
41
42
43
44 XmGetDragContext(library call)