Skip to content

Radiobutton

RadioButton

Bases: ToggleButton

A radio button widget that represents a boolean value.

Note

A RadioButton is best used within a RadioSet.

BUTTON_INNER class-attribute

The character used for the inside of the button.

Changed

Bases: ToggleButton.Changed

Posted when the value of the radio button changes.

This message can be handled using an on_radio_button_changed method.

control: RadioButton property

Alias for self.radio_button

radio_button: RadioButton property

The radio button that was changed.