FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    PageImpl

    trait · ferroui-controls · v0.5.0

    trait PageImpl: TemplatedControlImpl + $crate::Upcast<Page>
    

    The overridable members introduced by the class.

    View source

    Members

    on_navigated_to

    fn on_navigated_to(this: &Self, args: &NavigatedToEventArgs)
    

    Called when the page has been navigated to.

    Source

    on_navigating_from

    fn on_navigating_from(this: &Self, args: &NavigatingFromEventArgs)
    

    Called when the page is about to be navigated from.

    Setting the cancel flag of the args here prevents the Navigating asynchronous handlers from running and aborts the navigation. This method is called before the Navigating event.

    Source

    on_navigated_from

    fn on_navigated_from(this: &Self, args: &NavigatedFromEventArgs)
    

    Called when the page has been navigated from.

    Source

    on_system_back_button_pressed

    fn on_system_back_button_pressed(this: &Self) -> bool
    

    Called when the system back button is pressed. Returns true if the back press was handled.

    Source

    update_content_safe_area_padding

    fn update_content_safe_area_padding(this: &Self)
    

    Called when the safe-area padding changes.

    Source

    update_active_page

    fn update_active_page(this: &Self)
    

    Called when the active child page changes.

    Source

    Trait implementations

    Availability

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