IInteractionTrackerOwner
trait · ferroui-base · v0.5.0
trait IInteractionTrackerOwner
The callbacks of an InteractionTracker (IInteractionTrackerOwner).
Every callback does nothing by default. The tracker holds its owner
strongly, as WinUI does: an owner that keeps the tracker should keep it
weakly (each callback gets the tracker as sender), or the two keep each
other alive.
Callbacks run on the UI thread after the change they report, never nested: a callback that makes a request on the tracker gets the callbacks of that request after it returns.
Members
custom_animation_state_enteredidle_state_enteredinertia_state_enteredinteracting_state_enteredrequest_ignoredvalues_changed
custom_animation_state_entered
fn custom_animation_state_entered(self: &Self, _sender: &Rc<InteractionTracker>, _args: &InteractionTrackerCustomAnimationStateEnteredArgs)
idle_state_entered
fn idle_state_entered(self: &Self, _sender: &Rc<InteractionTracker>, _args: &InteractionTrackerIdleStateEnteredArgs)
inertia_state_entered
fn inertia_state_entered(self: &Self, _sender: &Rc<InteractionTracker>, _args: &InteractionTrackerInertiaStateEnteredArgs)
interacting_state_entered
fn interacting_state_entered(self: &Self, _sender: &Rc<InteractionTracker>, _args: &InteractionTrackerInteractingStateEnteredArgs)
request_ignored
fn request_ignored(self: &Self, _sender: &Rc<InteractionTracker>, _args: &InteractionTrackerRequestIgnoredArgs)
values_changed
fn values_changed(self: &Self, _sender: &Rc<InteractionTracker>, _args: &InteractionTrackerValuesChangedArgs)
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.