# enaml.widgets.radio_button

Classes

`RadioButton` | An exclusive checkable button represented by a standard radio button widget.

class enaml.widgets.radio_button.RadioButton(parent=None, **kwargs)

  Bases: `AbstractButton`

  An exclusive checkable button represented by a standard radio button widget.

  Use a radio button to toggle the value of a boolean field. For a group of radio buttons with the same widget parent, only one radio button may be selected at a time. This makes groups of radio buttons useful for selecting amongst a discrete set of values. For multiple groups of independent radio buttons, place each group of buttons in their own Container.

  The interface for AbstractButton fully defines the interface for a RadioButton.

  checkable

    Radio buttons are checkable by default.

  proxy

    A reference to the ProxyRadioButton object.

  activated

    An event fired when an object’s proxy is activated. It is triggered once during the object lifetime, at the end of the activate_proxy method.

  background

    The background color of the widget.

  destroyed

    An event fired when an object has been destroyed. It is triggered once during the object lifetime, just before the object is removed from the tree structure.

  enabled

    Whether or not the widget is enabled.

  initialized

    An event fired when an object is initialized. It is triggered once during the object lifetime, at the end of the initialize method.

  name

    Export the ‘name’ attribute as a declarative member.

  style_class

    The style class to which this item belongs. Multiple classes can be separated with whitespace. An empty string indicates the widget does not belong to any style class.