MainLoop3tcl
Loop for events until there is no more work to do.
Usage
#include <tcl.h> Tcl_MainLoop()
Overview
Tcl_MainLoop is a procedure that loops repeatedly calling Tcl_DoOneEvent. It returns only when there is no work to be done any more (i.e. no main windows exist anymore). Any application that consists entirely of callbacks invoked via Tcl_DoOneEvent only has to call Tcl_MainLoop after initialization. The notifier will take care that the application exits automatically when there is nothing to be done any more.
Keywords
application, event, main loop
Releases
Unchanged in 2 releases since Debian 2.2 (Potato).