Questions tagged [tkinter-scrolledtext]
22 questions
0
votes
2 answers
Python Tkinter: Unbinding Mouse Scroll Wheel on ComboBox
I have a combobox within a scrollable canvas frame- when I open the combobox and attempt to scroll through the options, the combobox and the entire window both scroll together. It would be nice to pause canvas scrolling while the combobox is open,…

liamhp
- 111
- 1
- 7
0
votes
1 answer
How to clear/delete the contents of a Tkinter "ScrolledText" widget?
I'm using python tkinter to make a GUI, and I use a ScrolledText widget to save log (I followed this link: https://beenje.github.io/blog/posts/logging-to-a-tkinter-scrolledtext-widget/).
I want to clear the ScrolledText when hitting a rerun button…

usercccc
- 1
- 2
0
votes
1 answer
How to not overflow text from ScrolledText in Tkinter?
I am just learning Tkinter and Python. I am trying to design a chatbot. While designing the chatbot I wrote a response which is now overflowing.
Obviously here it can be broken down using '\n' but I will be fetching long responses from json file or…

Subhasish Bora
- 11
- 3
0
votes
2 answers
Tkinter ScrolledText widget not appearing
I'm trying to add the ScrolledText widget to a Tkinter window. The program reads it perfectly as in it accepts the INSERT method for it with no errors but it's not showing up. The problem came up when I added Notebook Tabs. I've attached the code…
user10883309
0
votes
0 answers
NameError: name 'ChildFirstBox4' is not defined error for all except one
I'm trying to run an If statement and my scroll widget only works for anything other 1,2,3,4,5. This number is typed in by user in gui which then determines which strings is used for variable TextForReview. I get the error "NameError: name…

Daniel Lizarraga
- 5
- 2
0
votes
1 answer
populate scrolled text window with Combobox value (python)
I'm trying to build a GUI in Python where a scrolled text window is populated with one or more values selected from a Combobox.
e.g if the values in the Combobox are 1, 2, 3, 4. if I click 1 it appears in the scrolled text window, then if I clicked…

Sheik-Yabouti
- 85
- 1
- 9
-1
votes
1 answer
Set specific words in ScrolledText red
i need to find and highlight with color OR bold specific words in string.
i thought on doing like this
word to put in red=is:
var="my string is that should is appear with the word flame is in red is"
varf=var.replace(" is ","\033[1;32;40m is…

mclogan
- 35
- 5