Expand description
The Window trait and associated types.
Structs§
- Activation
Token - An opaque token used to activate the
Window. - ImeCapabilities
- IME capabilities supported by client.
- ImeEnable
Request - Initial IME request.
- ImeHint
- IME hints
- ImeRequest
Data - The
ImeRequestdata to communicate to system’s IME. - ImeSurrounding
Text - Defines the text surrounding the caret
- Window
Attributes - Attributes used when creating a window.
- Window
Buttons - Window
Constraint Adjustment - Specify how the window should be positioned if the originally intended position caused the surface to be constrained. See: https://wayland.app/protocols/xdg-shell#xdg_positioner:request:set_constraint_adjustment For all other platforms than wayland the behaviour is simulated on the wingy side
- Window
Id - Identifier of a window. Unique for each window.
- Window
Positioner - The positioner state backing a window’s anchor-based placement.
Enums§
- Cursor
Grab Mode - The behavior of cursor grabbing.
- ImePurpose
- Generic IME purposes for use in
Window::set_ime_purpose. - ImeRequest
- Request to send to IME.
- ImeRequest
Error - Error from sending request to IME with
Window::request_ime_update. - ImeSurrounding
Text Error - Resize
Direction - Defines the orientation that a window resize will be performed.
- Theme
- The theme variant to use.
- User
Attention Type - Platform-specific
- Window
Anchor - Anchor rect within the parent surface See: https://wayland.app/protocols/xdg-shell#xdg_positioner:request:set_anchor_rect
- Window
Gravity - Defines in what direction a surface should be positioned See: https://wayland.app/protocols/xdg-shell#xdg_positioner:request:set_gravity
- Window
Level - A window level groups windows with respect to their z-position.
- Window
Type - The role of a window, used to request platform-specific window behavior.
Traits§
- Platform
Window Attributes - Window
- Represents a window.