XPeekEvent man page on HP-UX
[printable version]
XPeekEvent() XPeekEvent()
Name
XPeekEvent – get an event without removing it from the queue.
Synopsis
XPeekEvent(display, event_return)
Display *display;
XEvent *event_return;
Arguments
display Specifies a connection to an X server; returned from
XOpenDisplay().
report_return
Returns the event peeked from the input queue.
Description
XPeekEvent() peeks at an input event from the head of the event queue
and copies it into an XEvent supplied by the caller, without removing
it from the input queue. If the queue is empty, XPeekEvent() flushes
the request buffer and waits (blocks) until an event is received. If
you do not want to wait, use the QLength() macro or XQLength() to
determine if there are any events to peek at, or use XCheckIfEvent().
XEventsQueued() can perform the equivalent of either QLength() or
XPending() and more.
For more information, see Volume One, Chapter 8, Events.
See Also
XQLength(), XAllowEvents(), XCheckIfEvent(), XCheckMaskEvent(), XCheck‐
TypedEvent(), XCheckTypedWindowEvent(), XCheckWindowEvent(),
XEventsQueued(), XGetInputFocus(), XGetMotionEvents(), XIfEvent(),
XMaskEvent(), XNextEvent(), XPeekIfEvent(), XPending(), XPutBack‐
Event(), XSelectInput(), XSendEvent(), XSetInputFocus(), XSynchro‐
nize(), XWindowEvent().
Xlib - Input Handling XPeekEvent()
[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]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
|
Vote for polarhome
|