FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    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.

    View source

    Members

    custom_animation_state_entered

    fn custom_animation_state_entered(self: &Self, _sender: &Rc<InteractionTracker>, _args: &InteractionTrackerCustomAnimationStateEnteredArgs)
    

    Source

    idle_state_entered

    fn idle_state_entered(self: &Self, _sender: &Rc<InteractionTracker>, _args: &InteractionTrackerIdleStateEnteredArgs)
    

    Source

    inertia_state_entered

    fn inertia_state_entered(self: &Self, _sender: &Rc<InteractionTracker>, _args: &InteractionTrackerInertiaStateEnteredArgs)
    

    Source

    interacting_state_entered

    fn interacting_state_entered(self: &Self, _sender: &Rc<InteractionTracker>, _args: &InteractionTrackerInteractingStateEnteredArgs)
    

    Source

    request_ignored

    fn request_ignored(self: &Self, _sender: &Rc<InteractionTracker>, _args: &InteractionTrackerRequestIgnoredArgs)
    

    Source

    values_changed

    fn values_changed(self: &Self, _sender: &Rc<InteractionTracker>, _args: &InteractionTrackerValuesChangedArgs)
    

    Source

    Availability

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