Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XtAppMainLoop(1)

XtAppNextEvent(1)

XtDispatchEvent(1)

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 contexts, 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). 

Copyright O’Reilly & Assoc.  —  X Toolkit Intrinsics Reference Manual © O’Reilly & Associates

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026