RefreshVisualizer
struct · ferroui-controls · v0.5.0
struct RefreshVisualizer
Shows the progress of a pull-to-refresh interaction and of the refresh it starts.
Members
TYPEto_refrefresh_visualizer_state_propertyorientation_propertyrefresh_requested_eventconstructnewrefresh_visualizer_stateorientationset_orientationrefresh_requestedrequest_refresh
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<RefreshVisualizer>
Returns a strong reference to this object.
refresh_visualizer_state_property
fn refresh_visualizer_state_property() -> &'static DirectProperty<RefreshVisualizer, RefreshVisualizerState>
Defines the RefreshVisualizerState property.
orientation_property
fn orientation_property() -> &'static DirectProperty<RefreshVisualizer, RefreshVisualizerOrientation>
Defines the Orientation property.
refresh_requested_event
fn refresh_requested_event() -> &'static RoutedEvent<RefreshRequestedEventArgs>
Defines the RefreshRequested event.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
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.
orientation
fn orientation(self: &Self) -> RefreshVisualizerOrientation
Gets or sets a value that indicates the orientation of the visualizer.
set_orientation
fn set_orientation(self: &Self, value: RefreshVisualizerOrientation)
refresh_requested
fn refresh_requested(self: &Self, handler: impl Fn(&Interactive, &RefreshRequestedEventArgs) -> () + 'static) -> RoutedEventHandlerToken
Occurs when an update of the content has been initiated.
request_refresh
fn request_refresh(self: &Self)
Initiates an update of the content.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeTemplatedControlImplExtContentControlImplExtControlImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyInputElementImplExtInteractiveImplExtLayoutableImplExtFerroObjectImplExtStyledElementImplExtClassDefaultsVisualImplExtErasedDestructorIntoEitherDerefUpcast<T>Upcast<RefreshVisualizer>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleStyledElementImplLayoutableImplInteractiveImplInputElementImplControlImplContentControlImplTemplatedControlImplVisualImplFerroObjectImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.