Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

NAME

XNextEvent − get the next event of any type or window. 

Synopsis

XNextEvent(display, event_return)
Display *display;
XEvent *event_return;

Arguments

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

event_return
Returns the event removed from the event queue.

Description

XNextEvent() removes an event from the head of the event queue and copies it into an XEvent structure supplied by the caller.  If the event queue is empty, XNextEvent() flushes the request buffer and waits (blocks) until an event is received.  Use XCheckMaskEvent() or XCheckIfEvent() if you do not want to wait.  For more information, see Volume One, Chapter 8, Events. 

See Also

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

Copyright O’Reilly & Assoc.  —  

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