Module druid_win_shell::window

source ·
Expand description

Creation and management of windows.

Structs

A handle that can get used to schedule an idle handler. Note that this handle is thread safe. If the handle is used after the hwnd has been destroyed, probably not much will go wrong (the XI_RUN_IDLE message may be sent to a stray window).
A mouse button press or release event.
Builder abstraction for creating new windows.

Enums

Standard cursor types. This is only a subset, others can be added as needed.
An indicator of which mouse button was pressed.
An indicator of the state change of a mouse button.
It’s very tricky to get smooth dynamics (especially resizing) and good performance on Windows. This setting lets clients experiment with different strategies.

Constants

Modifier mask for alt key in keydown and char events.
Modifier mask for control key in keydown and char events.
Modifier mask for shift key in keydown and char events.

Traits

App behavior, supplied by the app.

Functions