WindowState

interface WindowState(source)

Represents the state of a window.

Online Documentation

Properties

Link copied to clipboard
abstract val active: Boolean

Whether the window has been interacted with recently. This will change immediately on activity, or after a short time of user inactivity.

Link copied to clipboard
abstract val focused: Boolean

Whether the current window is focused.