[wxPython-users] Sorting grid background label color

Robin Dunn robin at alldunn.com
Fri Mar 2 12:40:15 PST 2007


m.defel at tiscali.it wrote:
> Starting from the wiki example here's the following code to draw the 
> custom column labels with an arrow showing the sorted column on a wx.
> grid, but using a GraphicsContext so to have a nice looking triangle. 
> On windows it shows ok but on linux the label background color is 
> white. Any ideas?

Try calling dc.SetBackgroundMode(wx.TRANSPARENT)


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





More information about the wxpython-users mailing list