Event Loop Moves from Tk to Tcl

   

Practical Programming in Tcl & Tk, Third Edition
By Brent B. Welch

Table of Contents
Chapter 49.  Tcl 7.5/Tk 4.1


To support network sockets, the event loop was moved from Tk to Tcl. This means that the after and update commands are now part of Tcl. The fileevent command was added to support non-blocking I/O. The vwait command was added to Tcl, and this is equivalent to the tkwait variable command. Event-driven I/O is described in Chapter 16 starting on page 217.

The tkerror command has been replaced by bgerror. This is the procedure that is called when an error occurs while processing an event. Backwards compatibility is provided if you already define tkerror. These procedures are described on page 190.


       
    Top
     



    Practical Programming in Tcl and Tk
    Practical Programming in Tcl and Tk (4th Edition)
    ISBN: 0130385603
    EAN: 2147483647
    Year: 1999
    Pages: 478

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net