I have a tkinter \'Text\' and \'Scrollbar\' working fine. In my program in the text window automatically lines will keep on adding. So When a new line of text is inserted an
Take a look at Text.see(...) method.
Text.see(...)
TextWidget.insert(tk.END, str(new_txt)) TextWidget.see(tk.END)
I used this pattern to add (aka insert) text new_txt to my output window and scroll (see) to the bottom (tk.END)
insert
new_txt
see
tk.END