[wxPython-users] Re: text logging widget?

Josiah Carlson jcarlson at uci.edu
Mon Dec 11 19:35:02 PST 2006


Grant Edwards <grante at visi.com> wrote:
> There were two things that I needed to change right away: make
> the widget non-editable, and remove the gray bar on the left.
> It wasn't obvious how to do either (perhaps I'm just stupid).

The wx.py package captures key down events and doesn't skip them when it
doesn't want them to alter the content of the stc.

You can use stc.SetMarginWidth(<margin>, <width>) to set the width of
margins.

 - Josiah





More information about the wxpython-users mailing list