FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ICanActivate

    trait · ferroui-reactiveui · v0.5.0

    trait ICanActivate
    

    An object that says itself when it is activated and deactivated (ICanActivate); a view that implements it is activated by CanActivateViewFetcher. Usually only the integration of a user-interface toolkit implements it.

    A view tells the activation fetchers that it implements this trait through IActivatableView::as_can_activate.

    View source

    Members

    activated

    fn activated(self: &Self) -> Rc<dyn IObservable<()>>
    

    Ticks when the object is activated (Activated).

    Source

    deactivated

    fn deactivated(self: &Self) -> Rc<dyn IObservable<()>>
    

    Ticks when the object is deactivated (Deactivated).

    Source

    Availability

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