Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XPending(3x) — HP-UX 9.10

Media Vault

Software Library

Restoration Projects

Artifacts Sought

 

NAME

XPending − return the number of pending events. 

Synopsis

int XPending(display)
Display *display;

Arguments

displaySpecifies a connection to an X server; returned from XOpenDisplay(). 

Description

XPending() returns the number of events that have been received by Xlib from the server, but not yet removed from the queue.  If there are no events on the queue, XPending() flushes the request buffer, and returns the number of events transferred to the input queue as a result of the flush.  The QLength macro or XQLength() returns the number of events on the queue, but without flushing the request buffer first.  For more information, see Volume One, Chapter 8, Events. 

See Also

QLength(), XAllowEvents(), XCheckIfEvent(), XCheckMaskEvent(), XCheckTypedEvent(), XCheckTypedWindowEvent(), XCheckWindowEvent(), XEventsQueued(), XGetInputFocus(), XGetMotionEvents(), XIfEvent(), XMaskEvent(), XNextEvent(), XPeekEvent(), XPeekIfEvent(), XPutBackEvent(), XSelectInput(), XSendEvent(), XSetInputFocus(), XSynchronize(), XWindowEvent. 

Copyright O’Reilly & Assoc.  —  

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