How can I make the scrolledtext uneditable #409
Answered
by
EulbThgink
EulbThgink
asked this question in
Q&A
-
if I write code like this, the scrolledtext can not be edited from UI(user interface)
=========================================== However, If I write code like below, the scrolledtext can be edited from UI(user interface)from ttkbootstrap.scrolled import ScrolledText
=========================================== My question is how can I make the scrolledtext uneditable by using 'from ttkbootstrap.scrolled import ScrolledText', |
Beta Was this translation helpful? Give feedback.
Answered by
EulbThgink
Jan 9, 2023
Replies: 2 comments 1 reply
-
I think |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
EulbThgink
-
You can disable the text component by setting the state to "disabled". scrolled_text.text.configure(state="disabled") |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think
self.__scrolled_text.text.bind("", lambda a: "break")
will effect