Skip to content

RadioGroup

Examples#

See these.

Inherits: Control

Radio buttons let people select a single option from two or more choices.

Properties

Events

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:

value #

value: str | None = None

Current value of the RadioGroup.

Events#

on_change #

on_change: ControlEventHandler[RadioGroup] | None = None

Called when the state of the RadioGroup is changed.