TopLevelImpl
trait · ferroui-controls · v0.5.0
trait TopLevelImpl: ContentControlImpl + $crate::Upcast<TopLevel>
The overridable members introduced by the class.
Members
handle_closed
fn handle_closed(this: &Self)
Handles a closed notification from the platform implementation.
handle_resized
fn handle_resized(this: &Self, client_size: Size, reason: WindowResizeReason)
Handles a resize notification from the platform implementation:
client_size is the new client size and reason the reason for
the resize.
on_opened
fn on_opened(this: &Self)
Raises the Opened event.
on_closed
fn on_closed(this: &Self)
Raises the Closed event.
opened_popups
fn opened_popups(this: &Self) -> Vec<Ref<crate::primitives::Popup>>
The popups that are currently open directly in this top level, in the order they were opened.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.