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#
content
#
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.
Events#
on_change
#
on_change: ControlEventHandler[RadioGroup] | None = None
Called when the state of the RadioGroup is changed.