[wxPython-users] Re: text logging widget?

Josiah Carlson jcarlson at uci.edu
Sat Dec 9 01:14:09 PST 2006


Grant Edwards <grante at visi.com> wrote:
> Yea, I finally broke down and forced the cursor to the end each
> time after adding any text.  That helps, but it causes a lot of
> "flashing" and doesn't completely fix things.

The following should work, and limit flashing...

tc.Freeze()
tc.AppendText(text)
tc.Thaw()

If not, toss in a tc.SetInsertionPointEnd() call before the Thaw.


 - Josiah





More information about the wxpython-users mailing list