Trouble with Tkinter under IDLE
Randall Hopper
aa8vb at yahoo.com
Wed Apr 12 11:32:47 EDT 2000
Anthony Lander:
|Looking through the Tkinter.py source, it seems that there is a variable
|called _default_root which wants to be set to the default root window. Is
|the normal procedure to check this variable and use it as the root window
|if it's defined?
No. By convention any module identifier that begins with an _ is private.
Tkinter sets this internally.
I believe idIf you create a widget and don't specify a parent, Tkinter
takes it to be default_root.
--
Randall Hopper
aa8vb at yahoo.com
More information about the Python-list
mailing list