Modern Tkinter ebook If you've found the material on this site useful, please consider purchasing this e-book (only $10), which is based on the Python material in the tutorial. Doing so helps me maintain and update this site. Thank you very much!



Kindle Buy now for your Kindle
Kindle apps are also available for most smartphones, tablets, and desktops. Payment and download handled by Amazon's Kindle Store.


PDF Buy the DRM-free PDF
Downloads handled by Payment handled via Stripe (credit cards) or PayPal.

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.

Learn the latest modern Tk features so you can make better GUI's.

This site is here to supplement the existing 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, and this site makes it fast and easy to learn what you need.

While not yet fully complete, there's a ton of very helpful material here, notably the tutorial, which now includes Modernizing IDLE: A Case Study.

For some more on the "what" and "why" of this site, have a peek at the about page.

Updated by Mark February 28, 2017
Tk 8.5.19 & Tk 8.6.6 Released.

Tk 8.5 contains an entirely new themed widget set. Latest patch released February 2016.

Tk 8.6 has several modest improvements on the Tk front. Latest patch released July 2016.

With over a dozen years of maturity under its belt, Tk 8.5 (if not 8.6) should be for most people the Tk version of choice. Despite how much of a step forward 8.5 is, remember that people just running their older Tk programs in the new version won't notice much of a difference. Programs will have to switch from the "classic" Tk widgets to the new themed "ttk::" widgets. Luckily this isn't that hard to do at all, but people need to be made aware the new stuff is there.

Updated by Mark February 28, 2017


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.