FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    TopLevelImpl

    trait · ferroui-controls · v0.5.0

    trait TopLevelImpl: ContentControlImpl + $crate::Upcast<TopLevel>
    

    The overridable members introduced by the class.

    View source

    Members

    handle_closed

    fn handle_closed(this: &Self)
    

    Handles a closed notification from the platform implementation.

    Source

    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.

    Source

    on_opened

    fn on_opened(this: &Self)
    

    Raises the Opened event.

    Source

    on_closed

    fn on_closed(this: &Self)
    

    Raises the Closed event.

    Source

    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.

    Source

    Trait implementations

    Availability

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