[−][src]Trait winit::platform::windows::WindowExtWindows
Additional methods on Window
that are specific to Windows.
Required methods
fn hinstance(&self) -> *mut c_void
Returns the HINSTANCE of the window
fn hwnd(&self) -> *mut c_void
Returns the native handle that is used by this window.
The pointer will become invalid when the native window was destroyed.
fn set_taskbar_icon(&self, taskbar_icon: Option<Icon>)
This sets ICON_BIG
. A good ceiling here is 256x256.
fn is_dark_mode(&self) -> bool
Whether the system theme is currently Windows 10's "Dark Mode".