Crate window_inner
source ·Expand description
The WindowInner
struct is the internal representation of a Window
used by the window manager.
In comparison, the Window
struct is application-facing, meaning it is used by (owned by)
and exposed directly to applications or tasks that wish to display content.
The WindowInner
in the window_manager-facing version of the Window
,
and each Window
contains a reference to its WindowInner
.
The window manager typically holds Weak
references to a WindowInner
struct,
which allows it to control the window itself and handle non-application-related components of the window,
such as the title bar, border, etc.
It also allows the window manager to control the window, e.g., move, hide, show, or resize it in a way that applications may not be able to do.
Structs
- The
WindowInner
struct is the internal system-facing representation of a window. Its members and functions describe the size, state, and events related to window handling, including elements like:
Enums
- Whether a window is moving (being dragged by the mouse).