tkinter: always scroll to show last line of text

Benjamin Rutt rutt at bmi.osu.edu
Sun Mar 13 16:21:21 CET 2005


I have a tkinter 'Text' and 'Scrollbar' connected and working
normally.  When a new line of text is inserted (because I'm monitoring
an output stream), I'd like the text and scrollbar to be scrolled to
the bottom, so the latest line of text is always shown.  How to do
this?  Thanks,
-- 
Benjamin Rutt



More information about the Python-list mailing list