pub trait WindowBaseImpl: TopLevelImpl + Upcast<WindowBase> {
// Provided methods
fn hide(this: &Self) { ... }
fn show(this: &Self) { ... }
fn on_resized(this: &Self, e: &WindowResizedEventArgs) { ... }
fn arrange_set_bounds(this: &Self, size: Size) -> Size { ... }
fn is_visible_changed(this: &Self, e: &FerroPropertyChangedEventArgs<'_>) { ... }
}Expand description
The overridable members introduced by the class.
Provided Methods§
Sourcefn on_resized(this: &Self, e: &WindowResizedEventArgs)
fn on_resized(this: &Self, e: &WindowResizedEventArgs)
Raises the Resized event.
Sourcefn arrange_set_bounds(this: &Self, size: Size) -> Size
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.
Sourcefn is_visible_changed(this: &Self, e: &FerroPropertyChangedEventArgs<'_>)
fn is_visible_changed(this: &Self, e: &FerroPropertyChangedEventArgs<'_>)
Called when the IsVisible property changes.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".