ZetCode

Tcl/Tk tutorial

last modified July 16, 2020

This is Tcl/Tk tutorial. It covers the basics of programming with Tcl and Tk. The tutorial is suitable for beginners and intermediate programmers. The sources are available at the author's Github Tcl-Tk-Examples repository.

Table of contents

Tk

Tk is an open source, cross-platform widget toolkit that provides a library of basic elements for building a graphical user interface (GUI). The first public release of Tk was in 1991. There are bindings for several other languages including Ada, Perl, Ruby, Python or Common Lisp. The Tk library is often referred with its main language as Tcl/Tk.

Related tutorials

ZetCode presents other two related tutorials that you might be interested in: Tcl tutorial and Tkinter tutorial.