[英]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.