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, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, 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

maximizeButton - determines if Maximize button is visible

minimizeButton - determines if Minimize button is visible

classes - a set of CSS class names

init - an initializer extension function

Constructor