Window

fun Window(title: String, width: Int, height: Int, flags: Set<WindowFlag> = emptySet()): Window(source)

Creates a window titled title with a client area of width by height points. Both sizes must be positive.

Throws

if width or height is not positive.

if the window cannot be created.