MaterialRangeSlider
struct · ferroui-themes-material · v0.5.0
struct MaterialRangeSlider
A bounded range selected by two focusable Material slider handles.
Members
TYPEto_refminimum_propertymaximum_propertyrange_start_propertyrange_end_propertysteps_propertyorientation_propertyis_direction_reversed_propertyis_read_only_propertystart_label_propertyend_label_propertyactive_tick_brush_propertyinactive_tick_brush_propertyvalue_change_finished_eventconstructnewminimumset_minimummaximumset_maximumrange_startset_range_startrange_endset_range_endstepsset_stepsorientationset_orientationis_direction_reversedset_is_direction_reversedis_read_onlyset_is_read_onlystart_labelset_start_labelend_labelset_end_labelactive_tick_brushset_active_tick_brushinactive_tick_brushset_inactive_tick_brushthumb
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<MaterialRangeSlider>
Returns a strong reference to this object.
minimum_property
fn minimum_property() -> &'static StyledProperty<f64>
maximum_property
fn maximum_property() -> &'static StyledProperty<f64>
range_start_property
fn range_start_property() -> &'static StyledProperty<f64>
range_end_property
fn range_end_property() -> &'static StyledProperty<f64>
steps_property
fn steps_property() -> &'static StyledProperty<i32>
orientation_property
fn orientation_property() -> &'static StyledProperty<Orientation>
is_direction_reversed_property
fn is_direction_reversed_property() -> &'static StyledProperty<bool>
is_read_only_property
fn is_read_only_property() -> &'static StyledProperty<bool>
start_label_property
fn start_label_property() -> &'static StyledProperty<String>
end_label_property
fn end_label_property() -> &'static StyledProperty<String>
active_tick_brush_property
fn active_tick_brush_property() -> &'static StyledProperty<Option<Rc<dyn IBrush>>>
inactive_tick_brush_property
fn inactive_tick_brush_property() -> &'static StyledProperty<Option<Rc<dyn IBrush>>>
value_change_finished_event
fn value_change_finished_event() -> &'static RoutedEvent<RoutedEventArgs>
construct
fn construct() -> Self
new
fn new() -> Ref<Self>
minimum
fn minimum(self: &Self) -> f64
set_minimum
fn set_minimum(self: &Self, v: f64)
maximum
fn maximum(self: &Self) -> f64
set_maximum
fn set_maximum(self: &Self, v: f64)
range_start
fn range_start(self: &Self) -> f64
set_range_start
fn set_range_start(self: &Self, v: f64)
range_end
fn range_end(self: &Self) -> f64
set_range_end
fn set_range_end(self: &Self, v: f64)
steps
fn steps(self: &Self) -> i32
Number of evenly spaced interior stops; zero permits continuous pointer selection.
set_steps
fn set_steps(self: &Self, v: i32)
orientation
fn orientation(self: &Self) -> Orientation
set_orientation
fn set_orientation(self: &Self, v: Orientation)
is_direction_reversed
fn is_direction_reversed(self: &Self) -> bool
set_is_direction_reversed
fn set_is_direction_reversed(self: &Self, v: bool)
is_read_only
fn is_read_only(self: &Self) -> bool
set_is_read_only
fn set_is_read_only(self: &Self, v: bool)
start_label
fn start_label(self: &Self) -> String
set_start_label
fn set_start_label(self: &Self, v: impl Into<String>)
end_label
fn end_label(self: &Self) -> String
set_end_label
fn set_end_label(self: &Self, v: impl Into<String>)
active_tick_brush
fn active_tick_brush(self: &Self) -> Option<Rc<dyn IBrush>>
set_active_tick_brush
fn set_active_tick_brush(self: &Self, v: Option<Rc<dyn IBrush>>)
inactive_tick_brush
fn inactive_tick_brush(self: &Self) -> Option<Rc<dyn IBrush>>
set_inactive_tick_brush
fn set_inactive_tick_brush(self: &Self, v: Option<Rc<dyn IBrush>>)
thumb
fn thumb(self: &Self, role: MaterialRangeThumb) -> Option<Ref<MaterialRangeSliderThumb>>
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyInputElementImplExtInteractiveImplExtLayoutableImplExtFerroObjectImplExtStyledElementImplExtClassDefaultsVisualImplExtErasedDestructorIntoEitherCastableFrom<ST, Uninit, Uninit>CastableFrom<ST, Initialized, Initialized>Read<Exclusive, BecauseExclusive>TemplatedControlImplExtControlImplExtDerefUpcast<T>Upcast<MaterialRangeSlider>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleStyledElementImplLayoutableImplInteractiveImplControlImplFerroObjectImplVisualImplTemplatedControlImplInputElementImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.