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
16

DESCRIPTION

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

KEYWORDS

27       application, event, main loop
28
29
30
31Tk                                                              Tk_MainLoop(3)
Impressum