Trait glutin::os::windows::WindowExt

source ·
pub trait WindowExt {
    // Required methods
    fn get_hwnd(&self) -> *mut c_void;
    fn set_taskbar_icon(&self, taskbar_icon: Option<Icon>);
}
Expand description

Additional methods on Window that are specific to Windows.

Required Methods§

source

fn get_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.

source

fn set_taskbar_icon(&self, taskbar_icon: Option<Icon>)

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

Implementors§