pdwidgets.widgets.radio_group
Radio button group coordinator.
- class pdwidgets.widgets.radio_group.RadioGroup(parent)[source]
Bases:
WidgetInvisible coordinator that enforces single radio selection.
- add(radio_button)[source]
Add a RadioButton to the group.
- Parameters:
radio_button (RadioButton) – The RadioButton to add to the group.
- set_checked(selected_button)[source]
Ensure only the selected button is checked in the group.
- Parameters:
selected_button (RadioButton) – The RadioButton to check.