FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    WindowBaseImpl

    trait · ferroui-controls · v0.5.0

    trait WindowBaseImpl: TopLevelImpl + $crate::Upcast<WindowBase>
    

    The overridable members introduced by the class.

    View source

    Members

    hide

    fn hide(this: &Self)
    

    Hides the window.

    Source

    show

    fn show(this: &Self)
    

    Shows the window.

    Source

    on_resized

    fn on_resized(this: &Self, e: &WindowResizedEventArgs)
    

    Raises the Resized event.

    Source

    arrange_set_bounds

    fn arrange_set_bounds(this: &Self, size: Size) -> Size
    

    Called during the arrange pass to set the size of the window; returns the size to arrange the content with.

    Source

    is_visible_changed

    fn is_visible_changed(this: &Self, e: &FerroPropertyChangedEventArgs<'_>)
    

    Called when the IsVisible property changes.

    Source

    Trait implementations

    Availability

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