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

XtPending()							   XtPending()

Name
  XtPending - determine if there are any events in an application's input
  queue.

Synopsis
  XtInputMask XtPending()

Inputs
  None.

Returns
  An XtInputMask which indicates what kind of events, if any, are pending
  on app_context.

Availability
  XtPending() has been superseded by XtAppPending().

Description
  XtAppPending() returns a nonzero value if there are pending events from
  the X server, timer, or other input sources.

  The return value is a bit mask that is  the  OR  of  XtIMXEvent  (an	X
  event), XtIMTimer (a timer event-see XtAppAddTimeOut()), and XtIMAlter‐
  nateInput (an alternate input event-see XtAppAddInput()).

Usage
  XtPending() has been superseded by XtAppPending(), which  performs  the
  same	function  on  a	 per-application  context basis.  XtPending() now
  calls XtAppPending() passing the default application context created by
  XtInitialize().   Very few programs need multiple application contexts,
  and you can continue to use XtPending() if you initialize your applica‐
  tion	with  XtInitialize().	We recommend, however, that you use XtAp‐
  pInitialize(), XtAppPending(), and the other XtApp*() application  con‐
  text specific functions.

  See XtAppPending() 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						   XtPending()
[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