Window.hasFocus

Check whether the window has the input focus

class Window
const
bool
hasFocus
()

Return Value

Type: bool

true if the window has focus, false otherwise

Meta