Frame widget (title and geometry)
jepler at unpythonic.net
Fri Jun 24 17:47:48 CEST 2005
It would help if you posted your code, as we're in the dark about
exactly what you tried to do and the error you received.
It sounds like you may be using the wrong type of widget for what you
want. The terms used in Tk are different than in some other systems.
If you want a separate window with title bar etc, you want to create a
new instance of Tkinter.Toplevel. It will have methods like wm_title
Newer versions of Tk (8.4 and maybe 8.3) have a widget called
"labelframe" (called Tkinter.LabelFrame in python2.3 and newer) which is the
grooved-border-and-label container used to semantically group related
"Frame" widgets are simply containers which are often useful for making
the screen layout work the way you want with pack and grid.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 196 bytes
Desc: not available
More information about the Python-list