Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

NAME

XQLength, QLength − return the number of events on the queue. 

Synopsis

int XQLength(display)

      Display *display;

Arguments

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

Description

XQLength() returns the number of events currently on the queue for the connected display.  Note that there may be more events that have not yet been read into the queue (see XEventsQueued()).  The C language macro QLength() is equivalent and slightly more efficient. 

See Also

XEventsQueued(), XPending(), XPeekEvent(). 

Copyright O’Reilly & Assoc.  —  

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