FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    PathEventHandlerInvoke

    type alias · ferroui-base · v0.5.0

    type PathEventHandlerInvoke = std::rc::Rc<dyn Fn(&crate::BoxedValue, &[Option<crate::BoxedValue>]) -> Result<(), crate::data::BindingError>>
    

    Calls the method of an event handler element: the owner (the value the path before the element produces, read when the event is raised; for a static method, the root source, which it ignores) and the arguments the event passes (the sender and the event arguments of a routed event). A method without parameters ignores them. Err is the failure of the call.

    View source

    Availability

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