Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ChckTypdWin(3X) — DeltaWindows 1.3.3 Release 4 Version 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

 

NAME

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.

RETURNS

True if a matching event is found, else False. 

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

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

Xlib Reference Manual

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