The `HdyWindow` widget is a subclass of [[email protected]] which has no titlebar area and provides rounded corners on all sides, ensuring
they can never be overlapped by the content. This makes it safe to use headerbars in the content area as follows:
It's recommended to use [class@HeaderBar] with `HdyWindow`, as unlike [[email protected]] it remains draggable inside the window.
Otherwise, [class@WindowHandle] can be used.
`HdyWindow` allows to easily implement titlebar autohiding by putting the headerbar inside a [[email protected]], and to show titlebar
above content by putting it into a [[email protected]] instead of [[email protected]].
If the window has a [[email protected]], it may bring a slight performance regression when the window is not fullscreen, tiled or
maximized.
`HdyWindow` has a main CSS node with the name `window` and style classes `.background`, `.csd` and `.unified`.
The `.solid-csd` style class on the main node is used for client-side decorations without invisible borders.
`HdyWindow` also represents window states with the following style classes on the main node: `.tiled`, `.maximized`, `.fullscreen`.
It contains the subnodes decoration for window shadow and/or border, decoration-overlay for the sheen on top of the window,
`widget.titlebar`, and deck, which contains the child inside the window.