Window

inner class Window : Window(source)

Simplified window interface

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override val closed: ERROR CLASS: Unresolved name: Event

Window restored (from minimization) event

Link copied to clipboard
open override var contentScale: Double
Link copied to clipboard
open override val drop: ERROR CLASS: Unresolved name: Event

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

Link copied to clipboard
open override val focused: ERROR CLASS: Unresolved name: Event

Window focused event, triggered when the window receives focus

Link copied to clipboard
open override var hitTest: (ERROR CLASS: Symbol not found for Vector2) -> Hit?
Link copied to clipboard
open override val minimized: ERROR CLASS: Unresolved name: Event

Window minimized event

Link copied to clipboard
open override val moved: ERROR CLASS: Unresolved name: Event

Window moved event

Link copied to clipboard
open override var multisample: WindowMultisample
Link copied to clipboard
open override var position: ERROR CLASS: Symbol not found for Vector2

Window position

Link copied to clipboard
Link copied to clipboard
open override var resizable: Boolean
Link copied to clipboard
open override val restored: ERROR CLASS: Unresolved name: Event

Window restored (from minimization) event

Link copied to clipboard
open override var size: ERROR CLASS: Symbol not found for Vector2
Link copied to clipboard
open override val sized: ERROR CLASS: Unresolved name: Event

Window sized event

Link copied to clipboard
open override var title: String
Link copied to clipboard
open override val unfocused: ERROR CLASS: Unresolved name: Event

Window focused event, triggered when the window loses focus

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun fullscreen(mode: Fullscreen)

Toggles the window fullscreen mode based on the specified parameter.

Link copied to clipboard
open override fun maximize()

Maximizes the window to occupy the full available screen space.

Link copied to clipboard
open override fun minimize()

Minimizes the window.

Link copied to clipboard
open override fun requestDraw()

Requests a redraw of the window's contents.

Link copied to clipboard
open override fun requestFocus()

Requests focus for the window, making it the active window.