wxPython question

C

Chad Haynes

Is there a way to change the background color of a wxCheckBox in
wxPython? Using the SetBackgroundColor function will change the
background of any label attached to the checkbox, but I want to change
the color of the actual box.

I thought about trying to draw a colored box behind the checkbox, but I
am putting the checkbox over an image and I havent had much luck drawing
on top of the image.

Any help would be greatly appreciated!

-Chad
 
J

Jarek Zgoda

Chad Haynes said:
Is there a way to change the background color of a wxCheckBox in
wxPython? Using the SetBackgroundColor function will change the
background of any label attached to the checkbox, but I want to change
the color of the actual box.

I think that its color depends on GUI toolkit. At least native Win32
checkbox control don't allow such manipulation.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,176
Messages
2,570,949
Members
47,500
Latest member
ArianneJsb

Latest Threads

Top