Struct cat_engine_basement::windows::WindowClassAttributes [−][src]
pub struct WindowClassAttributes { pub name: OsString, pub window_icon: Option<ImageBuffer<Bgra<u8>, Vec<u8>>>, pub cursor_icon: CursorIcon, pub background: Background, pub no_close: bool, pub drop_shadow: bool, pub double_clicks: bool, }
Fields
name: OsString
The name of a class.
window_icon: Option<ImageBuffer<Bgra<u8>, Vec<u8>>>
The window icon.
None
means the system default window icon.
The default is None
.
cursor_icon: CursorIcon
The window cursor icon.
None
means the system default cursor icon.
The default is None
.
background: Background
A colour or an image used for painting the background.
If None
is set, the system default background is used.
The default is None
.
no_close: bool
Disables Close on the window menu.
The default is false
.
drop_shadow: bool
Enables the drop shadow effect on a window. The effect is turned on and off through SPI_SETDROPSHADOW. Typically, this is enabled for small, short-lived windows such as menus to emphasize their Z-order relationship to other windows. Windows created from a class with this style must be top-level windows; they may not be child windows.
The default is false
.
double_clicks: bool
Sends a double-click message to the window procedure when the user double-clicks the mouse while the cursor is within a window.
The default is false
.