tkinter: always scroll to show last line of text

Martin Franklin mart.franklin at gmail.com
Sun Mar 13 21:21:41 CET 2005


Benjamin Rutt wrote:
> 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,


text.yview_pickplace("end")






More information about the Python-list mailing list