XCheckTypeA man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

XCheckTypedEvent()					    XCheckTypedEvent()

Name
  XCheckTypedEvent  –  return  the next event in queue that matches event
  type; don't wait.

Synopsis
  Bool XCheckTypedEvent(display, event_type, event_return)
	Display *display;
	int event_type;
	XEvent *event_return;

Arguments
  display   Specifies  a  connection  to  an  X	 server;  returned   from
	    XOpenDisplay().

  event_type
	    Specifies the event type to be compared.

  event_return
	    Returns a copy of the matched event structure.

Returns
  True if a matching event is found, else False.

Description
  XCheckTypedEvent()  searches	first  the  event  queue, then the events
  available on the server connection, for the specified	 event_type.   If
  there	 is  a	match, it returns the associated event structure.  Events
  searched but not matched are not discarded.  XCheckTypedEvent() returns
  True	if  the event is found.	 If the event is not found, XCheckTypedE‐
  vent() flushes the request buffer and returns False.

  This command is similar to XCheckMaskEvent(), but it	searches  through
  the  queue and any events available on the server connection instead of
  inspecting only the last item on the queue.  It  also	 matches  only	a
  single  event	 type  instead	of multiple event types as specified by a
  mask.

  For more information, see Volume One, Chapter 8, Events.

See Also
  XQLength(), XAllowEvents(), XCheckIfEvent(), XCheckMaskEvent(), XCheck‐
  TypedWindowEvent(),  XCheckWindowEvent(), XEventsQueued(), XGetInputFo‐
  cus(),  XGetMotionEvents(),  XIfEvent(),  XMaskEvent(),   XNextEvent(),
  XPeekEvent(),	 XPeekIfEvent(),  XPending(), XPutBackEvent(), XSelectIn‐
  put(), XSendEvent(), XSetInputFocus(), XSynchronize(), XWindowEvent().

Xlib - Input Handling					    XCheckTypedEvent()
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net