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

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

Additional methods on Window that are specific to Windows.

Required methods

pub fn hinstance(&self) -> *mut c_void[src]

Returns the HINSTANCE of the window

pub fn hwnd(&self) -> *mut c_void[src]

Returns the native handle that is used by this window.

The pointer will become invalid when the native window was destroyed.

pub fn set_taskbar_icon(&self, taskbar_icon: Option<Icon>)[src]

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

pub fn is_dark_mode(&self) -> bool[src]

Whether the system theme is currently Windows 10's "Dark Mode".

Loading content...

Implementors

impl WindowExtWindows for Window[src]

Loading content...