Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XtAppMainLoop(1)

XtAppPeekEvent(1)

XtAppPending(1)

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. 

See Also

XtAppMainLoop(1), XtAppPeekEvent(1), XtAppPending(1). 
 
 
 
 
 
 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026