FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    RadioButton

    struct · ferroui-controls · v0.5.0

    struct RadioButton
    

    Represents a button that allows a user to select a single option from a group of options.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<RadioButton>
    

    Returns a strong reference to this object.

    Source

    group_name_property

    fn group_name_property() -> &'static StyledProperty<Option<String>>
    

    Defines the GroupName property.

    Source

    construct

    fn construct() -> Self
    

    Creates the class data; see ferroui_base::FerroObject::construct.

    Source

    new

    fn new() -> Ref<Self>
    

    Creates a radio button.

    Source

    group_name

    fn group_name(self: &Self) -> Option<String>
    

    The name that specifies which radio button controls are mutually exclusive.

    Source

    set_group_name

    fn set_group_name(self: &Self, value: Option<String>)
    

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.