FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    MaterialProgressIndicator

    struct · ferroui-themes-material · v0.5.0

    struct MaterialProgressIndicator
    

    Renderer used by the Material ProgressBar control themes. The enclosing ProgressBar owns range semantics and automation; this noninteractive visual consumes its percentage and state without changing that control's behavior.

    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<MaterialProgressIndicator>
    

    Returns a strong reference to this object.

    Source

    percentage_property

    fn percentage_property() -> &'static StyledProperty<f64>
    

    Progress percentage, clamped to 0–100 when rendered.

    Source

    is_indeterminate_property

    fn is_indeterminate_property() -> &'static StyledProperty<bool>
    

    Whether progress is unknown.

    Source

    is_circular_property

    fn is_circular_property() -> &'static StyledProperty<bool>
    

    Use a circular rather than linear indicator.

    Source

    is_wavy_property

    fn is_wavy_property() -> &'static StyledProperty<bool>
    

    Use the expressive wave form.

    Source

    show_stop_indicator_property

    fn show_stop_indicator_property() -> &'static StyledProperty<bool>
    

    Draw the required terminal stop dot on a linear determinate track.

    Source

    reduced_motion_property

    fn reduced_motion_property() -> &'static StyledProperty<bool>
    

    Stop all continuous animation and display a static indeterminate state.

    Source

    orientation_property

    fn orientation_property() -> &'static StyledProperty<Orientation>
    

    Direction of the linear indicator.

    Source

    stroke_thickness_property

    fn stroke_thickness_property() -> &'static StyledProperty<f64>
    

    Thickness of the active and inactive strokes in device independent pixels.

    Source

    gap_size_property

    fn gap_size_property() -> &'static StyledProperty<f64>
    

    Visible space between the active and inactive tracks.

    Source

    active_brush_property

    fn active_brush_property() -> &'static StyledProperty<Option<Rc<dyn IBrush>>>
    

    Active indicator brush.

    Source

    track_brush_property

    fn track_brush_property() -> &'static StyledProperty<Option<Rc<dyn IBrush>>>
    

    Inactive track brush.

    Source

    construct

    fn construct() -> Self
    

    Source

    new

    fn new() -> Ref<Self>
    

    Source

    percentage

    fn percentage(self: &Self) -> f64
    

    Progress percentage, clamped to 0–100 when rendered.

    Source

    set_percentage

    fn set_percentage(self: &Self, value: f64)
    

    Source

    is_indeterminate

    fn is_indeterminate(self: &Self) -> bool
    

    Whether progress is unknown.

    Source

    set_is_indeterminate

    fn set_is_indeterminate(self: &Self, value: bool)
    

    Source

    is_circular

    fn is_circular(self: &Self) -> bool
    

    Use a circular rather than linear indicator.

    Source

    set_is_circular

    fn set_is_circular(self: &Self, value: bool)
    

    Source

    is_wavy

    fn is_wavy(self: &Self) -> bool
    

    Use the expressive wave form.

    Source

    set_is_wavy

    fn set_is_wavy(self: &Self, value: bool)
    

    Source

    show_stop_indicator

    fn show_stop_indicator(self: &Self) -> bool
    

    Draw the required terminal stop dot on a linear determinate track.

    Source

    set_show_stop_indicator

    fn set_show_stop_indicator(self: &Self, value: bool)
    

    Source

    reduced_motion

    fn reduced_motion(self: &Self) -> bool
    

    Stop all continuous animation and display a static indeterminate state.

    Source

    set_reduced_motion

    fn set_reduced_motion(self: &Self, value: bool)
    

    Source

    orientation

    fn orientation(self: &Self) -> Orientation
    

    Direction of the linear indicator.

    Source

    set_orientation

    fn set_orientation(self: &Self, value: Orientation)
    

    Source

    stroke_thickness

    fn stroke_thickness(self: &Self) -> f64
    

    Thickness of the active and inactive strokes in device independent pixels.

    Source

    set_stroke_thickness

    fn set_stroke_thickness(self: &Self, value: f64)
    

    Source

    gap_size

    fn gap_size(self: &Self) -> f64
    

    Visible space between the active and inactive tracks.

    Source

    set_gap_size

    fn set_gap_size(self: &Self, value: f64)
    

    Source

    active_brush

    fn active_brush(self: &Self) -> Option<Rc<dyn IBrush>>
    

    Active indicator brush.

    Source

    set_active_brush

    fn set_active_brush(self: &Self, value: Option<Rc<dyn IBrush>>)
    

    Source

    track_brush

    fn track_brush(self: &Self) -> Option<Rc<dyn IBrush>>
    

    Inactive track brush.

    Source

    set_track_brush

    fn set_track_brush(self: &Self, value: Option<Rc<dyn IBrush>>)
    

    Source

    Trait implementations

    Availability

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