python tkinter怎么读_Tkinter是什么意思

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。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值