Non-Python objects

Tkinter widgets are not first-class Python objects. Thus, we have to use workarounds such as Intvar, StringVar, and BooleanVar to handle variables in Tkinter. This adds a small layer of complexity, as error messages returned by the Tcl interpreter are not very Python-friendly, which makes it harder to debug.

Get Tkinter GUI Application Development Blueprints - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.