Can you change a Tkinter widget's master?
Isaac To Kar Keung
kkto at csis.hku.hk
Sat May 12 13:24:24 EDT 2001
>>>>> "Theodore" == Theodore D Sternberg <strnbrg at c532352-a.frmt1.sfba.home.com> writes:
Theodore> Setting (or resetting) the master would be the key to true
Theodore> compound widgets. For example, you could subclass Frame to
Theodore> take as constructor arguments several widgets (of any kind)
Theodore> and arrange them in some given way.
No, you can't change the parent widget of a Tk widget. But you can change
its master. Try setting the 'in' pack or grid option.
Regards,
Isaac.
More information about the Python-list
mailing list