Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xtmainloop(3) [hpux man page]

XtMainLoop()															      XtMainLoop()

Name
  XtMainLoop - continuously process events.

Synopsis
  void XtMainLoop()

Inputs
  none

Returns
  XtMainLoop() enters an infinite loop and never returns.

Availability
  XtMainLoop() has been superseded by XtAppMainLoop().

Description
  XtMainLoop()	enters	an infinite loop which calls XtNextEvent() to wait for events on all displays in app_context and XtDispatchEvent() to
  dispatch events.

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

  See XtAppMainLoop() for more information.

See Also
  XtAppMainLoop(1), XtAppNextEvent(1), XtDispatchEvent(1).

Xt - Event Handling														      XtMainLoop()

Check Out this Related Man Page

XtNextEvent(3)						    XT COMPATIBILITY FUNCTIONS						    XtNextEvent(3)

NAME
XtNextEvent, XtPending, XtPeekEvent, XtProcessEvent, XtMainLoop - query and process events and input SYNTAX
void XtNextEvent(XEvent *event_return); Boolean XtPeekEvent(XEvent *event_return); Boolean XtPending(void); void XtProcessEvent(XtInputMask mask); void XtMainLoop(void); ARGUMENTS
event Specifies a pointer to the event structure that is to be dispatched to the appropriate event handler. event_return Returns the event information to the specified event structure. mask Specifies what types of events to process. The mask is the bitwise inclusive OR of any combination of XtIMXEvent, XtIMTimer, XtIMAlternateInput, and XtIMSignal. As a convenience, the X Toolkit defines the symbolic name XtIMAll to be the bitwise inclu- sive OR of all event types. DESCRIPTION
XtNextEvent has been replaced by XtAppNextEvent. XtPeekEvent has been replaced by XtAppPeekEvent. XtPending has been replaced by XtAppPending. XtProcessEvent has been replaced by XtAppProcessEvent. XtMainLoop has been replaced by XtAppMainLoop. SEE ALSO
XtAppNextEvent(3xt), XtAppPending(3), XtAppPeekEvent(3), XtAppProcessEvent(3), XtAppMainLoop(3) X Toolkit Intrinsics - C Language Interface Xlib - C Language X Interface X Version 11 libXt 1.1.3 XtNextEvent(3)
Man Page