See Book Practical Programming in Tcl and Tk, Third edition, and Book Practical Programming in Tcl and Tk, Fourth Edition (released in June of 2003).