FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    MultiPageImpl

    trait · ferroui-controls · v0.5.0

    trait MultiPageImpl: PageImpl + $crate::Upcast<MultiPage>
    

    The overridable members introduced by the class.

    View source

    Members

    update_active_page_with

    fn update_active_page_with(this: &Self, navigation_type: NavigationType)
    

    Called when the active child page changes.

    The base class calls this method in the following situations, passing the corresponding navigation type:

    • NavigationType::Replace: the Pages collection was assigned, a new item was added, or the active page changed for any reason not covered below.
    • NavigationType::Remove: the currently active page was removed from the Pages collection or the collection was reset and the active page is no longer present. Subclasses should select a replacement page.

    Subclasses may also call this method directly with any navigation type appropriate for their own navigation model.

    Source

    Trait implementations

    Availability

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