RadioGroup
Examples#
See these.
        Inherits: Control
Radio buttons let people select a single option from two or more choices.
Properties
- 
          content(Control) –The content of the RadioGroup. 
- 
          value(str | None) –Current value of the RadioGroup. 
Events
- 
          on_change(ControlEventHandler[RadioGroup] | None) –Called when the state of the RadioGroup is changed. 
Properties#
instance-attribute
  
#
content: Control
The content of the RadioGroup.
Typically a list of Radio controls nested in a container control, e.g. Column,
Row.
Raises:
- 
              ValueError–If contentis not visible.
class-attribute
      instance-attribute
  
#
value: str | None = None
Current value of the RadioGroup.
Events#
class-attribute
      instance-attribute
  
#
on_change: ControlEventHandler[RadioGroup] | None = None
Called when the state of the RadioGroup is changed.