kvision / pl.treksoft.kvision.window / Window / <init>

<init>

Window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, classes: Set<String> = setOf(), init: Window.() -> Unit = null)

Parameters

caption - window title

contentWidth - window content width

contentHeight - window content height

isResizable - determines if the window is resizable

isDraggable - determines if the window is draggable

closeButton - determines if Close button is visible

classes - a set of CSS class names

init - an initializer extension function

Constructor