[wxPython-users] Bug: no way to set color of wx.SplitterWindow bar?

Robin Dunn robin at alldunn.com
Fri Dec 15 11:44:35 PST 2006


Edward K. Ream wrote:
> It does not appear possible to specify the color of the splitter bar in a
> wx.SplitterWindow, regardless of the width of the splitter bar, and
> regardless of the background color of then entire splitter.  I would really
> like a way to do this: it would add a lot to Leo's wx look, and it would
> draw attention to the splitter bar.

The native platform's theme API is used to draw some things in wx, 
including the splitter sash, so it will always use the platform default 
LnF.  On the other hand, making a custom splitter is pretty easy.  See 
wx.lib.splitter for one example.


-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-users mailing list