pdwidgets.widgets.radio_button

Radio button widget.

class pdwidgets.widgets.radio_button.RadioButton(parent, x=0, y=0, w=None, h=None, align=None, align_to=None, fg=None, bg=None, visible=True, value=False, padding=None, size=36, group=None)[source]

Bases: Toggle

Mutually exclusive checked icon; belongs to a RadioGroup.

toggle(data=None, event=None)[source]

Toggle the checked state to true when clicked and uncheck other RadioButtons in the group.