1Tk_MainLoop(3)               Tk Library Procedures              Tk_MainLoop(3)
2
3
4
5______________________________________________________________________________
6

NAME

8       Tk_MainLoop - loop for events until all windows are deleted
9

SYNOPSIS

11       #include <tk.h>
12
13       Tk_MainLoop()
14______________________________________________________________________________
15

DESCRIPTION

17       Tk_MainLoop    is   a   procedure   that   loops   repeatedly   calling
18       Tcl_DoOneEvent.  It returns only when there are no applications left in
19       this  process  (i.e.  no  main  windows exist anymore).  Most windowing
20       applications will call Tk_MainLoop after initialization; the main  exe‐
21       cution  of  the  application will consist entirely of callbacks invoked
22       via Tcl_DoOneEvent.
23

KEYWORDS

25       application, event, main loop
26
27
28
29Tk                                                              Tk_MainLoop(3)
Impressum