Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

NAME

XCheckMaskEvent − remove the next event that matches mask; don’t wait. 

Synopsis

Bool XCheckMaskEvent(display, event_mask, event_return)
Display *display;
long event_mask;
XEvent *event_return;

Arguments

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

event_mask
Specifies the event types to be returned.  See list under XSelectInput(). 

event_return
Returns a copy of the matched event’s XEvent structure. 

Description

XCheckMaskEvent() removes the next event in the queue that matches the passed mask.  The event is copied into an XEvent supplied by the caller and XCheckMaskEvent() returns True.  Other events earlier in the queue are not discarded.  If no such event has been queued, XCheckMaskEvent() flushes the request buffer and immediately returns False, without waiting.  For more information, see Volume One, Chapter 8, Events. 

See Also

QLength(), XAllowEvents(), XCheckIfEvent(), XCheckTypedEvent(), XCheckTypedWindowEvent(), 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