FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    AddEventHandlerCallback

    type alias · ferroui-xaml-interactivity · v0.5.0

    type AddEventHandlerCallback = std::rc::Rc<dyn Fn(Option<&ferroui_base::BoxedValue>, &ferroui_base::BoxedValue) -> ()>
    

    The handler an IAddEventHandler subscribes: it receives the sender (if the event has one) and the event args, untyped (Action<object?, object>).

    View source

    Availability

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