XmGetDragContext(library call) XmGetDragContext(library call)
NAMEXmGetDragContext — A Drag and Drop function that retrieves the DragCon‐
text widget ID associated with a timestamp
SYNOPSIS
#include <Xm/DragC.h>
Widget XmGetDragContext(
Widget refwidget,
Time timestamp);
DESCRIPTIONXmGetDragContext returns the widget ID of the active DragContext asso‐
ciated with a given display and timestamp. A timestamp uniquely identi‐
fies which DragContext is active when more than one drag and drop
transaction has been initiated on a display. If the specified timestamp
matches a timestamp processed between the start and finish of a single
drag and drop transaction, the function returns the corresponding Drag‐
Context ID.
refwidget Specifies the ID of the widget that the routine uses to iden‐
tify the intended display. The function returns the ID of the
DragContext associated with the display value passed by this
widget.
timestamp Specifies a timestamp.
For a complete definition of DragContext and its associated resources,
see XmDragContext(3).
RETURN
Returns the ID of the DragContext widget that is active for the speci‐
fied timestamp. Otherwise, returns NULL if no active DragContext is
found.
RELATEDXmDragContext(3).
XmGetDragContext(library call)