manpagez: man pages & more
man XmGetDragContext(3)
Home | html | info | man
XmGetDragContext(library call)                  XmGetDragContext(library call)




NAME

       XmGetDragContext  --  A Drag and Drop function that retrieves the Drag-
       Context widget ID associated with a timestamp


SYNOPSIS

       #include <Xm/DragC.h>
       Widget XmGetDragContext(
       Widget refwidget,
       Time timestamp);


DESCRIPTION

       XmGetDragContext 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.


RELATED

       XmDragContext(3).



                                                XmGetDragContext(library call)

openMotif 2.3.1 - Generated Sun Nov 30 16:18:24 CST 2008
© manpagez.com 2000-2024
Individual documents may contain additional copyright information.