XtMainLoop() XtMainLoop()
Name
XtMainLoop - continuously process events.
Synopsis
void XtMainLoop()
Inputs
none
Returns
XtMainLoop() enters an infinite loop and never returns.
Availability
XtMainLoop() has been superseded by XtAppMainLoop().
Description
XtMainLoop() enters an infinite loop which calls XtNextEvent() to wait for events on all displays in app_context and XtDispatchEvent() to
dispatch events.
Usage
XtMainLoop() has been superseded by XtAppMainLoop(), which performs the same function on a per-application context basis. XtMainLoop() now
calls XtAppMainLoop() passing the default application context created by XtInitialize(). Very few programs need multiple application con-
texts, and you can continue to use XtMainLoop() if you initialize your application with XtInitialize(). We recommend, however, that you
use XtAppInitialize(), XtAppMainLoop(), and the other XtApp*() application context specific functions.
See XtAppMainLoop() for more information.
See Also
XtAppMainLoop(1), XtAppNextEvent(1), XtDispatchEvent(1).
Xt - Event Handling XtMainLoop()