Tk is the only cross-platform (Windows, Mac, Unix) graphical user interface toolkit designed exclusively for high-level dynamic languages, like Tcl, Ruby, Perl, Python and many others. Whatever language you use, this site brings you the current, high-quality essential information you need to get the most out of Tk.
Welcome!

Learn the latest modern Tk features and make better GUI's.

The TkDocs tutorial makes it fast and easy to learn what you need. It supplements the existing, often-outdated documentation available for Tk, especially focusing on the innovations found in Tk 8.5 and beyond. This "newer" Tk is so much better than the old and cruddy "classic" Tk you may be familiar with. For some more on the "what" and "why" of this site, have a peek at the about page.

Python users, please consider purchasing the book Modern Tkinter, which helps support this site.

Updated by Mark Aug 29, 2020
Recent TkDocs Updates

I've been working on a major update of the tutorial, expanding the material and making substantial improvements throughout. Watch for it, along with a new edition of Modern Tkinter, in early fall.

This site also now hosts a copy of John Shipman's dated but useful Tkinter reference.

Updated by Mark Aug 29, 2020
Tk 8.6.10 Released.

Tk 8.6 builds on the new themed widgets from Tk 8.5. Latest patch released November 2019.

With over ten years of maturity under its belt, 8.6 should be for most people the Tk version of choice. Despite how much of a step forward 8.5 and 8.6 are, remember that people running their older Tk programs in the new version won't see a difference. Programs need to switch from the "classic" Tk widgets to the new themed "ttk::" widgets. Luckily this is not difficult, but you need to know the new stuff is there!

Looking to the future, the third alpha of Tk 8.7 was released November 28th 2019.

Updated by Mark Dec 2, 2019

 

Problems with this site? Have things you'd like to see covered here? Got Tk questions? Join the Tk Documentation and Resources mailing list or browse its archives — see its Google Groups home page.