Struct async_winit::window::WindowBuilder
source · pub struct WindowBuilder { /* private fields */ }
Expand description
A builder to use to create windows.
Implementations§
source§impl WindowBuilder
impl WindowBuilder
sourcepub fn new() -> WindowBuilder
pub fn new() -> WindowBuilder
Create a new window builder.
pub fn attributes(&self) -> &WindowAttributes
Trait Implementations§
source§impl Default for WindowBuilder
impl Default for WindowBuilder
source§fn default() -> WindowBuilder
fn default() -> WindowBuilder
Returns the “default value” for a type. Read more
source§impl WindowBuilderExtX11 for WindowBuilder
impl WindowBuilderExtX11 for WindowBuilder
fn with_x11_screen(self, screen_id: i32) -> Self
source§fn with_override_redirect(self, override_redirect: bool) -> Self
fn with_override_redirect(self, override_redirect: bool) -> Self
Build window with override-redirect flag; defaults to false. Only relevant on X11.
source§fn with_x11_window_type(self, x11_window_type: Vec<XWindowType>) -> Self
fn with_x11_window_type(self, x11_window_type: Vec<XWindowType>) -> Self
Build window with
_NET_WM_WINDOW_TYPE
hints; defaults to Normal
. Only relevant on X11.