[wxPython-users] text color of a tree item when selected

Pan Xingzhi vengeance.storm at gmail.com
Mon Dec 3 17:17:02 PST 2007


Robin,
    Then is there a way to set the color of the "highlight" itself? I'd
really like lighter colors (better with some transparency) for that.

Cheers,
    Harry Pan

2007/12/4, Robin Dunn <robin at alldunn.com>:
>
> Pan Xingzhi wrote:
> > Hi list,
> >
> >     I didn't find how to set the text color of a tree item when it's
> > selected in TreeCtrl.
> >     I set the text color to red. When selected it gets highlighted and
> > the text color turns white. It comes back when unselected.
>
> The system preferences are always used for these colors, wx doesn't
> provide a way to override them.
>
>
> --
> Robin Dunn
> Software Craftsman
> http://wxPython.org  Java give you jitters?  Relax with wxPython!
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wxPython-users-help at lists.wxwidgets.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200712=
04/adf2d979/attachment.htm


More information about the wxpython-users mailing list