📜  tkinter 更改按钮状态 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:09.387000             🧑  作者: Mango

代码示例1
btn = Button(root, text="Download", state=DISABLED)

btn.config(state="normal")