pub trait WindowBuilderExt {
    // Required methods
    fn with_parent_window(self, parent: *mut 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§

source

fn with_parent_window(self, parent: *mut HWND__) -> WindowBuilder

Sets a parent to the window to be created.

source

fn with_taskbar_icon(self, taskbar_icon: Option<Icon>) -> WindowBuilder

This sets ICON_BIG. A good ceiling here is 256x256.

source

fn with_no_redirection_bitmap(self, flag: bool) -> WindowBuilder

This sets WS_EX_NOREDIRECTIONBITMAP.

Implementors§