Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

XCheckTypedWindowEvent − return the next event in queue matching type and window; don’t wait.

Synopsis

Bool XCheckTypedWindowEvent(display, w, event_type, event_return)
Display *display;
Window w;
int event_type;
XEvent *event_return;

Arguments

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

wSpecifies the window ID. 

event_typeSpecifies the event type to be compared. 

event_return
Returns the matched event’s associated structure into this client-supplied structure.

Description

XCheckTypedWindowEvent() searches first the event queue, then any events available on the server connection, for an event that matches the specified window and the specified event type.  Events searched but not matched are not discarded.  XCheckTypedWindowEvent(), if the event is found, removes the event from the queue, copies it into the specified XEvent structure, and returns True.  It flushes the request buffer and returns False if the event is not found.  For more information, see Volume One, Chapter 8, Events. 

See Also

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

Copyright O’Reilly & Assoc.  —  

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