diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-17 19:03:42 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-17 19:03:42 +0000 |
commit | a6bdd56c5b098599942e4091ae7e2af2d4631b44 (patch) | |
tree | e0a23167aca0fb1127f4cd78edf458b633b31eac /man/XtAppNextEvent.man | |
parent | 6a13c9e08bb042c81ae904c44a38a50d785c824e (diff) |
merge XFree86 4.3.0.1 to -CURRENT
Diffstat (limited to 'man/XtAppNextEvent.man')
-rw-r--r-- | man/XtAppNextEvent.man | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/man/XtAppNextEvent.man b/man/XtAppNextEvent.man index cc0d167..2edfc97 100644 --- a/man/XtAppNextEvent.man +++ b/man/XtAppNextEvent.man @@ -1,4 +1,4 @@ -.\" $Xorg: XtAppNEv.man,v 1.4 2001/03/16 17:53:51 pookie Exp $ +.\" $Xorg: XtAppNEv.man,v 1.3 2000/08/17 19:41:58 cpqbld Exp $ .\" .\" Copyright 1993 X Consortium .\" @@ -25,6 +25,8 @@ .\" not be used in advertising or otherwise to promote the sale, use or .\" other dealings in this Software without prior written authorization .\" from the X Consortium. +.\" $XFree86: xc/doc/man/Xt/XtAppNEv.man,v 1.5 2001/01/27 18:20:24 dawes Exp $ +.\" .ds tk X Toolkit .ds xT X Toolkit Intrinsics \- C Language Interface .ds xI Intrinsics @@ -124,7 +126,7 @@ .el .sp 10p .. .ny0 -.TH XtAppNextEvent 3Xt "Release 6.6" "X Version 11" "XT FUNCTIONS" +.TH XtAppNextEvent 3Xt __xorgversion__ "XT FUNCTIONS" .SH NAME XtAppNextEvent, XtAppPending, XtAppPeekEvent, XtAppProcessEvent, XtDispatchEvent, XtAppMainLoop \- query and process events and input .SH SYNTAX @@ -270,14 +272,19 @@ and then it dispatches the event to the appropriate registered procedure by calling .ZN XtDispatchEvent . This constitutes the main loop of \*(tk applications, -and, as such, it does not return. +and, as such, it does not return unless +.ZN XtAppSetExitFlag +is called. Applications are expected to exit in response to some user action. There is nothing special about .ZN XtAppMainLoop ; -it is simply an infinite loop that calls +it is simply an loop that calls .ZN XtAppNextEvent and then -.ZN XtDispatchEvent . +.ZN XtDispatchEvent , +until +.ZN XtAppGetExitFlag () +returns true. .LP Applications can provide their own version of this loop, which tests some global termination flag or tests that the number |