pub trait Window<Context>: Anywhere
Context: 'static,{
// Required methods
fn set_top(&mut self, top: bool, ctx: &mut Context);
fn area(&self) -> Rect;
}Expand description
Necessary trait for your window-state.
This enables reordering the application windows.
Required Methods§
Sourcefn set_top(&mut self, top: bool, ctx: &mut Context)
fn set_top(&mut self, top: bool, ctx: &mut Context)
Set as top window.