| Widgets/LabelFrame |
UserPreferences |
| Tkinter Wiki | FrontPage | RecentChanges | TitleIndex | WordIndex | SiteNavigation | HelpContents | moin.sf.net |
A labelframe is a simple container widget. Its primary purpose is to act as a spacer or container for complex window layouts. It has the features of a frame plus the ability to display a label.
1 2 3 4 5 6 7 8 9 10 | from Tkinter import * root = Tk() labelframe = LabelFrame(root, text="This is a LabelFrame") labelframe.pack(fill="both", expand="yes") left = Label(labelframe, text="Inside the LabelFrame") left.pack() root.mainloop() |
http://www.pythonware.com/library/tkinter/introduction/labelframe.htm
http://www.purl.org/tcl/home/man/tcl8.4/TkCmd/labelframe.htm