Name
XtPeekEvent — nondestructively examine the head of an application’s input queue.
Synopsis
Boolean XtPeekEvent(event_return)
XEvent ∗event_return;
Arguments
event_return
Returns the event information from the head event structure in the queue.
Description
XtPeekEvent has been superseded by XtAppPeekEvent. XtPeekEvent returns the oldest event on the event queue, but does not remove the event from the queue.
Programs rarely need this much control over the event dispatching mechanism. Most programs use XtAppMainLoop.