2
'\" Copyright (c) 1990-1992 The Regents of the University of California.
3
'\" Copyright (c) 1994-1996 Sun Microsystems, Inc.
5
'\" See the file "license.terms" for information on usage and redistribution
6
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
8
'\" RCS: @(#) $Id: MainLoop.3,v 1.2 1998/09/14 18:22:52 stanton Exp $
11
.TH Tk_MainLoop 3 "" Tk "Tk Library Procedures"
14
Tk_MainLoop \- loop for events until all windows are deleted
24
\fBTk_MainLoop\fR is a procedure that loops repeatedly calling
25
\fBTcl_DoOneEvent\fR. It returns only when there are no applications
26
left in this process (i.e. no main windows exist anymore). Most
27
windowing applications will call \fBTk_MainLoop\fR after
28
initialization; the main execution of the application will consist
29
entirely of callbacks invoked via \fBTcl_DoOneEvent\fR.
32
application, event, main loop