[wxPython-users] Read Only wx.CheckBox

Cody Precord codyprecord at gmail.com
Sat Nov 3 21:06:02 PDT 2007


Hello,

No I don' t think so, but you can bind to EVT_CHECKBOX and prevent  
the check box from changing its value in the event handler to get  
this behavior.


cody

On Nov 3, 2007, at 10:58 PM, Mark Erbaugh wrote:

> Is there a way to make a wx.CheckBox read-only?  I know I can use
> Enable(False), but that dims the checkbox.  wx.TextCtrl has the
> wx.TE_READONLY style flag.
>
> Thanks,
> Mark
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wxPython-users- 
> help at lists.wxwidgets.org
>





More information about the wxpython-users mailing list