Contents

WindowLayoutRoot

A proxy which represents the root contents of a window.

Declaration

struct WindowLayoutRoot

Overview

This type acts like a proxy for the contents of the window defined by a SwiftUI Scene. The Scene.defaultWindowPlacement(_:) modifier receives an instance of this type, representing the contents of the window being created.

Use this proxy to get information about the window’s contents, like it’s size.

Topics

Instance Methods

See Also

Positioning a window