What is tkinter tkapp?

I use Tkinter in Python and try to create code to run when the text field value changes. All the code that I find on the Internet uses the mysterious tk member of the Tkinter widgets, and I cannot find any documentation on it! I found it like tkapp , but there is no documentation there.

Where can I find a decent resource that explains the work of this mysterious thing? (Better yet, where can I find documentation on Tkinter? All I can find are tutorials).

+4
source share
2 answers

Probably the best single resource for Tkinter is this page on the Python.org wiki. There is also documentation in the Python Library Reference (for 2.7 and 3.2 ). Unfortunately, since most of Tkinter is basically a wrapper for the existing Tk function, most of the documentation for Tkinter assumes that you know that Tk already reads this way. The Tk documentation is also important.

+1
source

tkapp is the supreme master. If you create a widget in the root window, tkapp is the master of this.

-2
source

All Articles