WindowState import { WindowState } from "destack:display/binding"; Window state snapshot. export struct WindowState { visibility: WindowVisibility; content: WindowRect; framebuffer: WindowPixelSize; position: WindowPosition; scaleFactorMilli: uint32; renderState: WindowRenderState; theme: WindowTheme; safeArea: WindowSafeArea; isFocused: boolean; } language/library/src/display/binding/window.ds:277:296 Members visibility: WindowVisibility Window visibility. content: WindowRect Logical content rectangle. framebuffer: WindowPixelSize Drawable framebuffer size. position: WindowPosition Desktop position. scaleFactorMilli: uint32 Scale factor in milli-scale units. renderState: WindowRenderState Renderability state. theme: WindowTheme Current host theme. safeArea: WindowSafeArea Current safe-area insets. isFocused: boolean Whether the window is focused.