can wxpython checkbox use the "fill in" marker instead of the "check"?

jean-michel bain-cornu pythonnews at nospam.jmbc.fr
Wed Jul 26 05:20:34 EDT 2006


Hi,
> does anyone know if, for a 2-state checkbox, you can use the "fill in"
> marker from the 3-state checkbox, instead of a checkmark
> 
> i just like the look of the "fill-in" instead of the checkmark
Use a 3-state and change the state to 2 when you get the 1 state.
Here is a working modification to the demo :
         if cb.Is3State():
             self.log.write("\t3StateValue: %s\n" % cb.Get3StateValue())
             if cb.Get3StateValue() == 1:
                 cb.Set3StateValue(2)
Regards,
jm



More information about the Python-list mailing list