autoscrolling scrolledText widget
Martin Franklin
MFranklin1 at gatwick.westerngeco.slb.com
Fri Mar 21 05:52:09 EST 2003
vector wrote:
> hi
> when text is inserted into a scrolledtext widget beyond its vertical
> screen size, sure enough the scroll bars come up but you have to
> manually scroll down to see the latest text.
> Surely there must be away of autoscrolling this???
> ie make the last line always visable
>
Newer versions of Tk have a see method in their Text widget so try:-
textbox.see("end")
if this fails (because your version does not have a see method) then try:-
textbox.yview_pickplace("end")
You may also need to call update() on the widget after.....
More information about the Python-list
mailing list