Skip to content

slint::platform::WindowAdapter::WindowProperties Struct

struct WindowProperties;
C++
#include <slint-platform.h>
C++

This struct contains getters that provide access to properties of the Window element, and is used with WindowAdapter::update_window_properties().

SharedString slint::platform::WindowAdapter::WindowProperties::title() const

Returns the title of the window.

Brush slint::platform::WindowAdapter::WindowProperties::background() const

Returns the background brush of the window.

bool slint::platform::WindowAdapter::WindowProperties::fullscreen() const

Use is_fullscreen() instead

bool slint::platform::WindowAdapter::WindowProperties::is_fullscreen() const

Returns true if the window should be shown fullscreen; false otherwise.

bool slint::platform::WindowAdapter::WindowProperties::is_minimized() const

Returns true if the window should be minimized; false otherwise.

bool slint::platform::WindowAdapter::WindowProperties::is_maximized() const

Returns true if the window should be maximized; false otherwise.

LayoutConstraints slint::platform::WindowAdapter::WindowProperties::layout_constraints() const

Returns the layout constraints of the window.


© 2026 SixtyFPS GmbH