[wxGTK 2.8.7] wxStatusBar text colour
Carsten A. Arnholm
arnholm at offline.no
Sat Dec 1 13:08:33 PST 2007
Vadim Zeitlin wrote:
> On Sat, 1 Dec 2007 16:38:40 +0100 "Carsten A. Arnholm" <arnholm at offline.no> wrote:
>
> CAA> I am using a wxStatusBar under Kubuntu 7.04. If I change the KDE colour
> CAA> scheme so that "Standard Text" is changed to something else than black
> CAA> (yellow for example), then this is respected very well in my wxWidgets
> CAA> application, except for the wxStatusBar where the statusbar text fields
> CAA> still show black text.
> ...
> CAA> Is this a bug in wxStatusBar ?
>
> Yes and no. Yes because it should, of course, use the system options but
> no because it isn't a native class at all and so it's more a case of
> missing functionality rather than a bug. We discussed making it possible to
> inherit the appearance parameters of arbitrary GTK widgets on wx-dev some
> time ago but unfortunately I don't think anyone is really working on this
> right now.
Ok, thanks for the explanation. At least I know it isn't something odd I
am doing :-)
Allowing some form of controlled inheritance of appearance parameters
sounds like a good idea, although perhaps complex. I can see there is
for example wxWindow::InheritAttributes(), but I guess it does little
for wxStatusBar. Without such things maybe using the system options is
straightforward and useful.
--
Carsten A. Arnholm
http://arnholm.org/
N59.776 E10.457
More information about the wx-users
mailing list