Tcl HomeTcl Home Hosted by

Google SiteSearch

Tcl/Tk Doc­u­men­ta­tion

Manual Pages

Quick links: Tcl 8.6 | Tcl 9.0
In addition to the above online pages, the Tcl/Tk manual pages are included in all software distributions. These are the best source of detailed reference material on individual commands.
Note also the MagicSplat searchable manpages for Tcl/Tk, and some packages.


Tcl and the Tk Toolkit, Second Edition (2009), by Ousterhout, Jones and others, covers Tcl/Tk 8.5, including C interfaces for extending Tcl.
Tcl/Tk: A Developer's Guide, Third Edition (2012), by Clif Flynt, is another book with more recent coverage of Tcl/Tk and writing extensions in C.
The Tcl Programming Language: A Comprehensive Guide (2017), by Ashok Nadkarni, focuses on the Tcl language itself in great detail. Covers Tcl 8.6.
Tcl 8.5 Network Programming (2010), by Kocjan and Beltowski, is targeted towards building network-aware applications using Tcl and includes coverage of many Tcl libraries and extensions.
Tcl/Tk 8.5 Programming Cookbook (2011), by Bert Wheeler, provides over 100 recipes to effectively use Tcl/Tk 8.5.
Practical Programming in Tcl and Tk, Fourth Edition (2003), by Welch, Jones and Hobbs, only covers Tcl/Tk 8.4, but nevertheless remains an excellent resource and introduction to the language.
There are many other books on Tcl/Tk available; search through Amazon or other retailers, as well as on the wiki.

Tutorials and Demos

The Tcl manual pages include a tutorial based on material originally developed by Clif Flynt. Currently based on Tcl 8.5, an update is in the works to cover Tcl 8.6.
The TkDocs website provides a modern tutorial and programming guide to learn about Tk. Tk itself also comes with the "widget" demo, which shows examples using all the widgets in Tk, and lets you see and modify the example code.

Other Sources of Information

Besides the resources mentioned here, be sure to check out the tutorial, examples and other documentation in the About Tcl/Tk pages, as well as the various resources listed on the Community pages.