ScrolledText?

Basilisk96 basilisk96 at gmail.com
Tue May 1 23:20:42 EDT 2007


Ah.. wx is wxPython in this case, a GUI toolkit like Tkinter, but
based on wxWidgets.
I don't know if Tk has a text control with a method similar to the
AppendText method I showed here.. I used to have the exact same
problem as you until I discovered that AppendText always kept the text
box scrolled at the bottom :)

How about this:
>>>help(Tkinter.Text.see)
Help on method see in module Tkinter:

see(self, index) unbound Tkinter.Text method
    Scroll such that the character at INDEX is visible.

It may be what you're looking for if you use 'end' for index ...?

-Basilisk96




More information about the Python-list mailing list