FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    RefreshVisualizer

    struct · ferroui-controls · v0.5.0

    struct RefreshVisualizer
    

    Shows the progress of a pull-to-refresh interaction and of the refresh it starts.

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

    Returns a strong reference to this object.

    Source

    refresh_visualizer_state_property

    fn refresh_visualizer_state_property() -> &'static DirectProperty<RefreshVisualizer, RefreshVisualizerState>
    

    Defines the RefreshVisualizerState property.

    Source

    orientation_property

    fn orientation_property() -> &'static DirectProperty<RefreshVisualizer, RefreshVisualizerOrientation>
    

    Defines the Orientation property.

    Source

    refresh_requested_event

    fn refresh_requested_event() -> &'static RoutedEvent<RefreshRequestedEventArgs>
    

    Defines the RefreshRequested event.

    Source

    construct

    fn construct() -> Self
    

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

    Source

    new

    fn new() -> Ref<Self>
    

    Source

    refresh_visualizer_state

    fn refresh_visualizer_state(self: &Self) -> RefreshVisualizerState
    

    Gets a value that indicates the refresh state of the visualizer.

    Protected upstream; the property itself is public.

    Source

    orientation

    fn orientation(self: &Self) -> RefreshVisualizerOrientation
    

    Gets or sets a value that indicates the orientation of the visualizer.

    Source

    set_orientation

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

    Source

    refresh_requested

    fn refresh_requested(self: &Self, handler: impl Fn(&Interactive, &RefreshRequestedEventArgs) -> () + 'static) -> RoutedEventHandlerToken
    

    Occurs when an update of the content has been initiated.

    Source

    request_refresh

    fn request_refresh(self: &Self)
    

    Initiates an update of the content.

    Source

    Trait implementations

    Availability

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