=======================================================================
Programming Python, 4th Edition
https://learning-python.com/about-pp4e.html
=======================================================================
Widget class | Description |
Label | A simple message area(一个简单的消息区域) |
Button | A simple labeled push-button widget(一个简单的标记为push-button的小部件) |
Frame | A container for attaching and arranging other widget objects(用于附加和安排其他小部件对象的容器) |
Toplevel, Tk | A new window managed by the window manager(一个被窗口管理器托管的新窗口) |
Message | A multiline label(一个多行标签) |
Entry | A simple single-line text-entry field(一个简单的单行文本输入字段) |
Checkbutton | A two-state button widget, typically used for multiple-choice selections(一个双状态按钮小部件,通常用于多项选择) |
Radiobutton | A two-state button widget, typically used for single-choice selections(双状态按钮小部件,通常用于单项选择) |
Scale | A slider widget with scalable positions(带有可伸缩位置的滑块小部件) |
PhotoImage | An image object used for displaying full-color images on other widgets(用于在其他小部件上显示全彩图像的image对象) |
BitmapImage | An image object used for displaying bitmap images on other widgets(用于在其他小部件上显示位图图像的图image对象) |
Menu | A set of options associated with a Menubutton or top-level window(与Menubutton或顶级窗口相关联的一组选项) |
Menubutton | A button that opens a Menu of selectable options and submenus(打开可选选项和子菜单的按钮) |
Scrollbar | A control for scrolling other widgets (e.g., listbox, canvas, text)(用于滚动其他小部件的控件(例如,列表框、画布、文本)) |
Listbox | A list of selection names(选择名称的列表) |
Text | A multiline text browse/edit widget, with support for fonts, and so on(一个多行文本浏览/编辑小部件,支持字体等) |
Canvas | A graphic drawing area, which supports lines, circles, photos, text, and so on(一个图形绘制区域,它支持线、圆、照片、文本等等) |