code: def set_checked(self, checked):
          
          if not checked:
              self.widget.clearCheck()
          else:
              #: Checked is a reference to the radio declaration
              #: so we need to get the ID of it
              rb = checked.proxy.widget
              if not rb:
                  return
              self.widget.check(rb.getId())
docs: Properly check the correct radio button.