Expand description
The Window
struct and associated types.
Structs§
- Activation
Token - An opaque token used to activate the
Window
. - Cursor
Icon Parse Error - An error which could be returned when parsing
CursorIcon
. - Custom
Cursor - Use a custom image as a cursor (mouse pointer).
- Custom
Cursor Source - Source for
CustomCursor
. - Icon
- An icon used for the window titlebar, taskbar, etc.
- Window
- Represents a window.
- Window
Attributes - Attributes used when creating a window.
- Window
Buttons - Window
Id - Identifier of a window. Unique for each window.
Enums§
- BadIcon
- An error produced when using
Icon::from_rgba
with invalid arguments. - BadImage
- An error produced when using
CustomCursor::from_rgba
with invalid arguments. - Cursor
- See
Window::set_cursor()
for more details. - Cursor
Grab Mode - The behavior of cursor grabbing.
- Cursor
Icon - Describes the appearance of the (usually mouse) cursor icon.
- Fullscreen
- Fullscreen modes.
- ImePurpose
- Generic IME purposes for use in
Window::set_ime_purpose
. - Resize
Direction - Defines the orientation that a window resize will be performed.
- Theme
- The theme variant to use.
- User
Attention Type - Platform-specific
- Window
Level - A window level groups windows with respect to their z-position.
Constants§
- MAX_
CURSOR_ SIZE - The maximum width and height for a cursor when using
CustomCursor::from_rgba
.