[][src]Trait winit::platform::windows::WindowExtWindows

pub trait WindowExtWindows {
    fn hinstance(&self) -> *mut c_void;
fn hwnd(&self) -> *mut c_void;
fn set_taskbar_icon(&self, taskbar_icon: Option<Icon>);
fn is_dark_mode(&self) -> bool; }

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".

Loading content...

Implementors

impl WindowExtWindows for Window[src]

Loading content...