How to add colur to columns in a grid in wxpython??? Topic is solved
How to add colur to columns in a grid in wxpython???
I used wxPython to create a grid with two columns in a frame. I want to colour specific rows in columns based on some conditions. I am getting access only to very few colours like cyan,black,red and green. Can anyone suggest how to get more colours in to it???
Re: How to add colur to columns in a grid in wxpython???
In addition to the named colors you can also use any RGB values.
Code: Select all
win.SetBackgroundColour(wxColour(0,0,255))
win.SetBackgroundColour('BLUE')
win.SetBackgroundColour('#0000FF')
win.SetBackgroundColour((0,0,255))
Use the source, Luke!
Re: How to add colur to columns in a grid in wxpython???
Thank you so much