Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XtPending(3) — OSF1 1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XtAppMainLoop(1)

XtAppPeekEvent(1)

XtAppPending(1)

 

Name

XtPending — determine if there are any events in an application’s input queue. 

Synopsis

XtInputMask XtPending()

Description

XtPending has been superseded by XtAppPending.  XtPending returns a mask indicating which types of input are currently pending. 

XtAppPending returns a nonzero value if there are pending events from the X server, timer, or other input sources.  The return value is a bit mask that is the OR of XtIMXEvent (an X event), XtIMTimer (a timer event introduced onto the queue by a call to XtAppAddTimeOut), and XtIMAlternateInput (an alternate input event introduced onto the queue by a call to XtAppAddInput).  As a convenience, the symbolic name XtIMAll is defined as the bitwise inclusive OR of all event types.  If no events are pending, XtAppPending flushes the output buffers of each display in the application context and returns zero.  This call is the Intrinsics equivalent to the Xlib call XPending. 

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