XCheckTypedWindowEvent() XCheckTypedWindowEvent()
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
display Specifies a connection to an X server; returned from XOpenDisplay().
w Specifies the window ID.
event_type Specifies 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 - Input Handling XCheckTypedWindowEvent()