autoscrolling scrolledText widget
Martin Franklin
MFranklin1 at gatwick.westerngeco.slb.com
Fri Mar 21 05:52:09 EST 2003
More information about the Python-list mailing list
Fri Mar 21 05:52:09 EST 2003
- Previous message (by thread): autoscrolling scrolledText widget
- Next message (by thread): Python/C API: Python class instance information in C?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.....
- Previous message (by thread): autoscrolling scrolledText widget
- Next message (by thread): Python/C API: Python class instance information in C?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list