1. Tkinter is Python`s default GUI library. It is based on the Tk toolkit, originally designed for the Tool Command Language.
Tkinter是Python的默认GUI库,它基于Tk工具集,后者最初是为工具命令语言设计的。
2. If your Python interpreter was not compiled with Tkinter enabled, the module import fails
而如果您的 Python 解释器在编译时没有启用 Tkinter ,导入过程将失败。
3. Tkinter automatically maintains a widget tree (via the master and children attributes of each widget instance), so a widget won't disappear when the application's last reference goes away; it must be explicitly destroyed before this happens.
Tkinter自动维护一个组件树(通过各个组件的父属性和子属性来维护),所当那个应用程序的最后一个引用结束时组件并不会消失;在最后一个引用结束之前它必须被显示的注销(调用对象的destory方法)。
4. This would require use of their fully qualified names for each and every attribute access.
这种方式(译者注:原文这里表达的不够清晰,本意是指import Tkinter的方式)要求访问每个属性时都使用它们的全部限定性名称。
5. In programming style, using Anygui is similar to using Tkinter, but the underlying toolkit is selected either automatically or with a configuration call.
在编程风格方面,使用Anygui类似于使用Tkinter,但是要选中这个底层工具箱,要么自动进行,要么进行配置调用。
6. The first thing worth looking at is what we might think of as the " default default " backend, Tkinter.
首先值得一看的,我们可能认为是作为“默认缺省值”的后端Tkinter。