button
A clickable button that may evaluate a command when it is selected.
radiobutton
A set of on/off buttons and labels, one of which may be selected.
checkbutton
A set of on/off buttons and labels, many of which may be selected.
menubutton
A button that displays a scrolldown menu when clicked.
menu
A holder for menu items. This is attached to a menubutton.
listbox
Creates a widget that displays a list of strings, one or more of which may be
selected. The listbox may be scrolled.
entry
A widget that can be used to accept a single line of textual input.
label
A widget with a single line of text in it.
message
A widget that may contain multiple lines of text.
text
A widget for displaying and optionally editing large bodies of text.
canvas
A drawing widget for displaying graphics and images.
scale
A slider widget that can call a procedure when the selected value changes.
scrollbar
Attaches a scrollbar to widgets that support a scrollbar. Will call a procedure
when the scrollbar is modified.
frame
A container widget to hold other widgets.
toplevel
A window with all borders and decorations supplied by the Window
manager.
一些基本的widgets
最新推荐文章于 2024-07-09 21:26:33 发布