[英]How to disable Entry Box in Tkinter?
有人知道禁用Tkinter中输入框的命令吗? (意味着我们不能在列表框中键入任何内容)
您正在寻找state=DISABLED 。
state=DISABLED
将“文本”小部件的状态更改为“已禁用”:
text.config(state=DISABLED)
更多参考这里
[英]Interactively Disable the Entry Box in Tkinter
[英]Tkinter entry box disable spaces
[英]In Tkinter, How I disable Entry?
[英]How to get values from entry box with tkinter
[英]How to print the values from entry box of tkinter?
[英]How to get the Values from the Entry box in Tkinter?
[英]How To Multiply / Divide Entry Box With A Number, tkinter
[英]How to make an entry box on Tkinter global
[英]How to get an integer from a tkinter entry box?
[英]how to create tkinter entry box with multiline
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.