Tk Library Procedures Tk_MainLoop(3TK)
_________________________________________________________________
NAME
Tk_MainLoop - loop for events until all windows are deleted
SYNOPSIS
#include
Tk_MainLoop()
_________________________________________________________________
DESCRIPTION
Tk_MainLoop is a procedure that loops repeatedly calling
Tcl_DoOneEvent. It returns only when there are no applica-
tions left in this process (i.e. no main windows existanymore). Most windowing applications will call Tk_MainLoop
after initialization; the main execution of the application will consist entirely of callbacks invoked viaTcl_DoOneEvent.
KEYWORDS application, event, main loopATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:_______________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE|
|____________________|__________________|_
| Availability | runtime/tk-8 |
|____________________|__________________|_
| Interface Stability| Uncommitted ||____________________|_________________|
NOTES Source for Tk is available on http://opensolaris.org. Tk Last change: 1