code: def applyStyleRules(self):
          
          for button, widget in zip(self.radioButtons, self.widgets):
              if isinstance(widget, CheckBox):
                  widget.hideInput()
              if not button.GetValue(): # not checked
                  widget.widget.Disable()
              else:
                  widget.widget.Enable()
docs: Conditionally disabled/enables form fields based on the current
          section in the radio group