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§
sourcefn get_hwnd(&self) -> *mut c_void
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.
sourcefn set_taskbar_icon(&self, taskbar_icon: Option<Icon>)
fn set_taskbar_icon(&self, taskbar_icon: Option<Icon>)
This sets ICON_BIG
. A good ceiling here is 256x256.