Window

interface Window(source)

Inheritors

Properties

Link copied to clipboard
abstract val closed: Event<WindowEvent>

Window restored (from minimization) event

Link copied to clipboard
abstract var contentScale: Double
Link copied to clipboard
abstract val drop: Event<DropEvent>

Drop event, triggered when a file is dropped on the window

Link copied to clipboard
abstract val focused: Event<WindowEvent>

Window focused event, triggered when the window receives focus

Link copied to clipboard
abstract val minimized: Event<WindowEvent>

Window minimized event

Link copied to clipboard
abstract val moved: Event<WindowEvent>

Window moved event

Link copied to clipboard
Link copied to clipboard
abstract var position: Vector2

Window position

Link copied to clipboard
Link copied to clipboard
abstract var resizable: Boolean
Link copied to clipboard
abstract val restored: Event<WindowEvent>

Window restored (from minimization) event

Link copied to clipboard
abstract var size: Vector2
Link copied to clipboard
abstract val sized: Event<WindowEvent>

Window sized event

Link copied to clipboard
abstract var title: String
Link copied to clipboard
abstract val unfocused: Event<WindowEvent>

Window focused event, triggered when the window loses focus

Functions

Link copied to clipboard
abstract fun requestDraw()
Link copied to clipboard
abstract fun requestFocus()