enable() throws a traceback for HorizontalRadioGroup and VerticalRadioGroup. It works for RadioGroup.
Traceback (most recent call last):
File "test_radiogroup.py", line 24, in <module>
RadioGroupDemo()
File "test_radiogroup.py", line 13, in __init__
self.w.radioGroup.enable(True)
File "venv/lib/python3.10/site-packages/vanilla/vanillaBase.py", line 158, in enable
self._nsObject.setEnabled_(onOff)
AttributeError: 'VNSStackView' object has no attribute 'setEnabled_'
Modified demo code:
enable()
throws a traceback forHorizontalRadioGroup
andVerticalRadioGroup
. It works forRadioGroup
.