Source code for enamlnative.widgets.radio_button

"""
Copyright (c) 2017-2022, CodeLV.

Distributed under the terms of the MIT License.

The full license is in the file LICENSE, distributed with this software.

Created on May 20, 2017

 
"""
from atom.api import ForwardTyped, Typed
from .compound_button import CompoundButton, ProxyCompoundButton


class ProxyRadioButton(ProxyCompoundButton):
    """The abstract definition of a proxy RadioButton object."""

    #: A reference to the Label declaration.
    declaration = ForwardTyped(lambda: RadioButton)


[docs]class RadioButton(CompoundButton): """A simple control for displaying a RadioButton.""" #: A reference to the ProxyLabel object. proxy = Typed(ProxyRadioButton)