Skip to content

Window

Window is the root of the tree of elements that are visible on the screen.

The Window geometry will be restricted by its layout constraints: Setting the width will result in a fixed width, and the window manager will respect the min-width and max-width so the window can’t be resized bigger or smaller. The initial width can be controlled with the preferred-width property. The same applies to the Windows height.

Use the MenuBar element to declare a menu bar for the window.


© 2026 SixtyFPS GmbH