PageImpl
trait · ferroui-controls · v0.5.0
trait PageImpl: TemplatedControlImpl + $crate::Upcast<Page>
The overridable members introduced by the class.
Members
on_navigated_toon_navigating_fromon_navigated_fromon_system_back_button_pressedupdate_content_safe_area_paddingupdate_active_page
on_navigated_to
fn on_navigated_to(this: &Self, args: &NavigatedToEventArgs)
Called when the page has been navigated to.
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.
on_navigated_from
fn on_navigated_from(this: &Self, args: &NavigatedFromEventArgs)
Called when the page has been navigated from.
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.
update_content_safe_area_padding
fn update_content_safe_area_padding(this: &Self)
Called when the safe-area padding changes.
update_active_page
fn update_active_page(this: &Self)
Called when the active child page changes.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.