Trait winit::os::windows::WindowBuilderExt
source · pub trait WindowBuilderExt {
fn with_parent_window(self, parent: HWND) -> WindowBuilder;
fn with_taskbar_icon(self, taskbar_icon: Option<Icon>) -> WindowBuilder;
fn with_no_redirection_bitmap(self, flag: bool) -> WindowBuilder;
}
Expand description
Additional methods on WindowBuilder
that are specific to Windows.
Required Methods
sourcefn with_parent_window(self, parent: HWND) -> WindowBuilder
fn with_parent_window(self, parent: HWND) -> WindowBuilder
Sets a parent to the window to be created.
sourcefn with_taskbar_icon(self, taskbar_icon: Option<Icon>) -> WindowBuilder
fn with_taskbar_icon(self, taskbar_icon: Option<Icon>) -> WindowBuilder
This sets ICON_BIG
. A good ceiling here is 256x256.
sourcefn with_no_redirection_bitmap(self, flag: bool) -> WindowBuilder
fn with_no_redirection_bitmap(self, flag: bool) -> WindowBuilder
This sets WS_EX_NOREDIRECTIONBITMAP
.