XtPeekEvent 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]

XtPeekEvent()							 XtPeekEvent()

Name
  XtPeekEvent  -  return,  but do not remove the event at  the head of an
  application's input queue.

Synopsis
  Boolean XtPeekEvent(event_return)
	 XEvent *event_return;

Inputs
  event_return
	      Returns the event information from the head event structure
	      in the queue.

Returns
  True	if  the event at the head of the queue is an X event; False if it
  is a timer event or an alternate input source event.

Availability
  XtPeekEvent() has been superseded by XtAppPeekEvent().

Description
  XtPeekEvent() returns a copy of the X event at the head  of  the  input
  queue,  without removing it from the queue.  If there is an X event, it
  returns True.	 If there are no X events pending, but there are timer or
  alternate  events, XtPeekEvent() returns False.  If there are no events
  pending, XtPeekEvent() blocks.

Usage
  XtPeekEvent() has been superseded by XtAppPeekEvent(),  which	 performs
  the  same  function  on a per-application context basis.  XtPeekEvent()
  now calls XtAppPeekEvent() passing the default application context cre‐
  ated	by  XtInitialize().   Very few programs need multiple application
  contexts, and you can continue to use XtPeekEvent() if  you  initialize
  your	application with XtInitialize().  We recommend, however, that you
  use XtAppInitialize(), XtAppPeekEvent(), and the other XtApp*()  appli‐
  cation context specific functions.

  See XtAppPeekEvent() for more information.

  Programs rarely need this much control over the event dispatching mech‐
  anism.  Most programs use XtAppMainLoop().

See Also
  XtAppMainLoop(1), XtAppPeekEvent(1), XtAppPending(1).

Xt - Event Handling						 XtPeekEvent()
[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