[wxPython-users] Toolbar background color

Søren Nielsen soren.skou.nielsen at gmail.com
Thu Feb 14 01:38:09 PST 2008


Thanks for the reply Robin!

S=F8ren Nielsen wrote:
> > Hi,
> >
> > I've created a toolbar in my program, but it has a lightgray
> > background.. which is not the same as the  GetThemeBackgroundColour() ..
> > which I would like it to be..
>
> Platform and version?
>

I'm using win XP and wxpython 2.7.1


>
> > I've been trying to find the command for
> > changing the background colour of a Toolbar.. without luck..
> >
> > Does anyone know how to do this?
>
>
> toolbar.SetBackgroundColour(newColour)


After some searching I found that method.. but I need the default system
colour (the default toolbar gray in windows), is there a way to obtain this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200802=
14/2f3c772f/attachment.htm


More information about the wxpython-users mailing list