WindowInfo


Provides information about the Window that is hosting this compose hierarchy.

Summary

Public properties

open IntSize

Size of the window's content container in pixels.

Cmn
Boolean

Indicates whether the window hosting this compose hierarchy is in focus.

Cmn
open PointerKeyboardModifiers

Indicates the state of keyboard modifiers (pressed or not).

Cmn

Public properties

containerSize

open val containerSizeIntSize

Size of the window's content container in pixels.

isWindowFocused

val isWindowFocusedBoolean

Indicates whether the window hosting this compose hierarchy is in focus.

When there are multiple windows visible, either in a multi-window environment or if a popup or dialog is visible, this property can be used to determine if the current window is in focus.

keyboardModifiers

open val keyboardModifiersPointerKeyboardModifiers

Indicates the state of keyboard modifiers (pressed or not).