Setting color of wxStaticText

Mikey at Work itsmikeytime at hotmail.com
Fri Oct 11 17:07:20 EDT 2002


Using wxPython 2.3.3.1, is there any way to change the color of a
wxStaticText instance?

I'd like to have green text on a black background but need to be able to
change the text color to do this.

As an alternative, is there anyway to format a wxTextCtrl in GTK so that the
same effect can be produced (totally black background with center justified
green text)?  So far, I've been able to get green text on a partially black
background (black only behind the text), but no ability to center the
textCtrl or make the whole thing black.  Thanks for you help.





More information about the Python-list mailing list