A Toolkit function that provides a modal interaction
#include <Xm/Xm.h> Widget XmTrackingEvent Widget widgetCursor cursorBoolean confine_toXEvent *event_return
XmTrackingEvent provides a modal interface for selection of a component. It is intended to support context help. The function calls the XmUpdateDisplay function. XmTrackingEvent then grabs the pointer and discards succeeding events until BSelect is released or a key is pressed and then released. The function then returns the widget or gadget that contains the pointer when BSelect is released or a key is released, and ungrabs the pointer.
Returns the widget or gadget that contains the pointer when BSelect is released or a key is released. If no widget or gadget contains the pointer, the function returns NULL.