How can I programmatically determine if a particular control (In my case a wx CheckBox) is disabled? I don't see that the widget has a "disabled" property or "isDisabled" method.
IsEnabled
exists, so you can do:
if not widget.IsEnabled():
# do something
http://docs.wxwidgets.org/stable/wx_wxwindow.html#wxwindowisenabled
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With