XtNextEvent man page
XtNextEvent, XtPending, XtPeekEvent, XtProcessEvent, XtMainLoop — query and process events and input
void XtNextEvent(XEvent *event_return);
Boolean XtPeekEvent(XEvent *event_return);
void XtProcessEvent(XtInputMask mask);
Specifies a pointer to the event structure that is to be dispatched to the appropriate event handler.
Returns the event information to the specified event structure.
Specifies what types of events to process. The mask is the bitwise inclusive OR of any combination of XtIMXEvent, XtIMTimer, XtIMAlternateInput, and XtIMSignal. As a convenience, the X Toolkit defines the symbolic name XtIMAll to be the bitwise inclusive OR of all event types.
XtNextEvent has been replaced by XtAppNextEvent.
XtPeekEvent has been replaced by XtAppPeekEvent.
XtPending has been replaced by XtAppPending.
XtProcessEvent has been replaced by XtAppProcessEvent.
XtMainLoop has been replaced by XtAppMainLoop.
XtAppNextEvent(3xt), XtAppPending(3), XtAppPeekEvent(3), XtAppProcessEvent(3), XtAppMainLoop(3)
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface
The man pages XtMainLoop(3), XtPeekEvent(3), XtPending(3) and XtProcessEvent(3) are aliases of XtNextEvent(3).