Skip to main content

Module window

Module window 

Source
Expand description

The Window trait and associated types.

Structs§

ActivationToken
An opaque token used to activate the Window.
ImeCapabilities
IME capabilities supported by client.
ImeEnableRequest
Initial IME request.
ImeHint
IME hints
ImeRequestData
The ImeRequest data to communicate to system’s IME.
ImeSurroundingText
Defines the text surrounding the caret
WindowAttributes
Attributes used when creating a window.
WindowButtons
WindowConstraintAdjustment
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
WindowId
Identifier of a window. Unique for each window.
WindowPositioner
The positioner state backing a window’s anchor-based placement.

Enums§

CursorGrabMode
The behavior of cursor grabbing.
ImePurpose
Generic IME purposes for use in Window::set_ime_purpose.
ImeRequest
Request to send to IME.
ImeRequestError
Error from sending request to IME with Window::request_ime_update.
ImeSurroundingTextError
ResizeDirection
Defines the orientation that a window resize will be performed.
Theme
The theme variant to use.
UserAttentionType
Platform-specific
WindowAnchor
Anchor rect within the parent surface See: https://wayland.app/protocols/xdg-shell#xdg_positioner:request:set_anchor_rect
WindowGravity
Defines in what direction a surface should be positioned See: https://wayland.app/protocols/xdg-shell#xdg_positioner:request:set_gravity
WindowLevel
A window level groups windows with respect to their z-position.
WindowType
The role of a window, used to request platform-specific window behavior.

Traits§

PlatformWindowAttributes
Window
Represents a window.