Modern Tkinter
Tk is the only cross-platform (Windows, Mac, Unix) graphical user interface toolkit designed exclusively for high-level dynamic languages, like Python, Tcl, Ruby, Perl, 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.

Modern Tk Best Practices

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 logo Python users, please consider buying Modern Tkinter (paperback or e-book), which supports TkDocs.

Updated by Mark Aug 17, 2024

Tk 8.6 builds on the themed widgets introduced in Tk 8.5.
Latest patch (8.6.14) released Feb 28, 2024.

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 beta of Tk 9.0 was released Jul 31, 2024.

Updated by Mark Aug 17, 2024