水木社区手机版
首页
|版面-Python的自由天空(Python)|
新版wap站已上线
返回
1/1
|
转到
主题:Python的tkinter程序,关于创建Button的root参数
1楼
|
iwannabe
|
2025-03-01 09:49:23
|
展开
root是你的控件的parent frame
【 在 ooolinux 的大作中提到: 】
: 这个root参数是btn的什么?去掉这个参数有什么影响?
: from tkinter import *
: root=Tk()
: ...................
--
FROM 163.125.197.*
1/1
|
转到
选择讨论区
首页
|
分区
|
热推
BYR-Team
©
2010.
KBS Dev-Team
©
2011
登录完整版