▶ Watch TTKBootstrap Playlist ✅ FREE Tkinter Widget Book bit.ly/3hphbwA bit.ly/3K4qlZC ▶ See More At: ✅ Subscribe To My KZitem Channel: Tkinter.com bit.ly/3Pk1By4 ▶ MASSIVE TKINTER.COM DISCOUNT ✅ Join My Facebook Group: 30% off with coupon code: youtube bit.ly/2GFmOBz ▶ Get The Code For This Video bit.ly/3dCzz2K
@EFoxVN
Жыл бұрын
Thanks a lot, as always John. Your videos are helpful and fun to watch. 🎉
@TkinterPython
Жыл бұрын
Glad you like em!
@Tritoon710
Жыл бұрын
Thank you so much. Is it possible to stylize the text? like to make a list from selected words and make them bold in the text after that?
@TkinterPython
Жыл бұрын
Yes, I have videos on that at tkinter.com
@MrNaarrf
7 ай бұрын
Hi! Thanks for all your great Videos! I guess I have a stupid question, but I will ask it anyways. When I used import ttkbootstrap as tb textfield = tb.ScrolledText(root, bootstyle="danger", autohide=True) I got always errors that bootstyle and autohide are unknown. Using the following worked fine: import ttkbootstrap as tb from ttkbootstrap.scrolled import ScrolledText self.textfield = ScrolledText(, bootstyle="danger", autohide=True) Can you explain why the first one is not working? Shouldn't the "import ttkbootstrap as tb" include the scrolled.ScrolledText stuff? BR
@TkinterPython
7 ай бұрын
Isn't that exactly what I told you to do in the video? You have to import it, because that's how it works.
@MrNaarrf
7 ай бұрын
@@TkinterPython Yes, I just saw it after watching it again🤦... Sorry
@TkinterPython
7 ай бұрын
No worries 🙂 @@MrNaarrf
@rutujamurdande3
Жыл бұрын
Hi John, Thanks for sharing. Your videos are very helpful and easy to understand as compared to other videos online. I was wondering how we could resize the text widget according to the contents that are inserted in it. i.e the width and height of the text widget will be adjusted according to the content in it. Could you help me in understanding this ? Thanks :)
@TkinterPython
Жыл бұрын
I don't know that that is a thing...the text flows down, the scrollbar scrolls automatically to the amount of text there is...the text widget itself doesn't change size...nor would you want it to...
@rutujamurdande3
Жыл бұрын
@@TkinterPython but what if i don't want the scrollbar and want the the text to be seen at once and the text widget to resize according to its content (content will be dynamic hence cannot pre determine the height of text). Is this possible to implement? Or is there any other widget suitable for this type of implementation?
@TkinterPython
Жыл бұрын
@@rutujamurdande3 No, and if you think about it, it "couldn't" be possible. What if I pasted 27 pages of text into the widget, it couldn't possibly resize to hold all that text and fit on a computer monitor. So no, there's no way that I know to resize the text widget as you type. Maybe you could use a binding to try it... but it would take some doing...
@rutujamurdande3
Жыл бұрын
Umm yeah, makes sense. Thanks for responding John. Appreciate it. :)
@ryanriddick5840
4 ай бұрын
can this widget be used as an entry field and an output field?
@TkinterPython
4 ай бұрын
Isn't that exactly what it's used for?
@محمدمبروك-ث9و
Жыл бұрын
Doctor, how to convert customtkinter files to exe format
@TkinterPython
Жыл бұрын
I'm not a doctor...check the documentation: customtkinter.tomschimansky.com/documentation/packaging
@محمدمبروك-ث9و
Жыл бұрын
😂 Thank you ❤❤❤❤❤
@Techy_Genes
10 ай бұрын
How can i disabled this ScrolledText widget ?
@Codemycom
10 ай бұрын
set the state to disabled
@Techy_Genes
10 ай бұрын
It's not working in my case
@ali.alftlawe
Жыл бұрын
👍👍👍👍👍👍🇮🇶
@TkinterPython
Жыл бұрын
👍👍
@jonasback8304
5 ай бұрын
Hi, Thanks, very helpful. Is it possible to also autoscroll this widget to the end if programatically adding text to it? Something like... ... log_text = ScrolledText(log_frame, height=20, width=110, wrap=WORD, autohide=True, bootstyle="primary") log_text.pack(pady=20) ... for i in range(100): message = f"Hello {i}" timestamp = datetime.now().strftime('%Y-%m-%d %H:%M:%S') self.log_text.insert(END, f" {timestamp}: {message}") ### Can we now here somehow ensure that we automatically scroll to the end as well? ### ... Thanks
@TkinterPython
5 ай бұрын
Give it a try and see
@jonasback8304
5 ай бұрын
Found the answer myself, this does the trick: self.log_text.insert(END, f" {timestamp}: {message}") self.log_text.see(END)
Пікірлер: 27