FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    PointerEventsBehaviorImpl

    trait · ferroui-xaml-interactions-events · v0.5.0

    trait PointerEventsBehaviorImpl: StyledElementBehaviorImpl + $crate::Upcast<PointerEventsBehavior>
    

    The overridable members introduced by the class.

    View source

    Members

    on_pointer_pressed

    fn on_pointer_pressed(this: &Self, sender: &Interactive, e: &PointerPressedEventArgs)
    

    Called when a pointer is pressed over the associated control.

    Source

    on_pointer_released

    fn on_pointer_released(this: &Self, sender: &Interactive, e: &PointerReleasedEventArgs)
    

    Called when a pointer is released over the associated control.

    Source

    on_pointer_moved

    fn on_pointer_moved(this: &Self, sender: &Interactive, e: &PointerEventArgs)
    

    Called when a pointer moves over the associated control.

    Source

    Trait implementations

    Availability

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