www.gibmonks.com

  Previous section   Next section

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

Table of Contents
Chapter 49.  Tcl 7.5/Tk 4.1


Event Loop Moves from Tk to Tcl

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.


      Previous section   Next section
    Top