XmGetDragContext(3X) OSF/Motif XmGetDragContext(3X)NAMEXmGetDragContext - A Drag and Drop function that retrieves the DragCon‐
text widget ID associated with a timestamp
SYNOPSIS
#include <Xm/DragC.h>
Widget XmGetDragContext (refwidget, timestamp) Widget refwid‐
get; Time timestamp;
DESCRIPTIONXmGetDragContext returns the widget ID of the active DragContext asso‐
ciated with a given display and timestamp. A timestamp uniquely iden‐
tifies which DragContext is active when more than one drag and drop
transaction has been initiated on a display. If the specified time‐
stamp matches a timestamp processed between the start and finish of a
single drag and drop transaction, the function returns the correspond‐
ing DragContext ID. Specifies the ID of the widget that the routine
uses to identify the intended display. The function returns the ID of
the DragContext associated with the display value passed by this wid‐
get. Specifies a timestamp.
For a complete definition of DragContext and its associated resources,
see XmDragContext(3X).
RETURN VALUE
Returns the ID of the DragContext widget that is active for the speci‐
fied timestamp. Otherwise, returns NULL if no active DragContext is
found.
RELATED INFORMATIONXmDragContext(3X).
XmGetDragContext(3X)