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.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<RadioButton>
Returns a strong reference to this object.
group_name_property
fn group_name_property() -> &'static StyledProperty<Option<String>>
Defines the GroupName property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates a radio button.
group_name
fn group_name(self: &Self) -> Option<String>
The name that specifies which radio button controls are mutually exclusive.
set_group_name
fn set_group_name(self: &Self, value: Option<String>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeTemplatedControlImplExtToggleButtonImplExtContentControlImplExtControlImplExtButtonImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyInputElementImplExtInteractiveImplExtLayoutableImplExtFerroObjectImplExtStyledElementImplExtClassDefaultsVisualImplExtErasedDestructorIntoEitherDerefUpcast<T>Upcast<RadioButton>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleStyledElementImplLayoutableImplInteractiveImplInputElementImplTemplatedControlImplContentControlImplButtonImplControlImplFerroObjectImplVisualImplToggleButtonImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.