kvision / pl.treksoft.kvision.window

Package pl.treksoft.kvision.window

Floating, resizable window component.

Types

(js)

MaximizeIcon

Helper class for maximize icon component.

open class MaximizeIcon : Widget
(js)

MinimizeIcon

Helper class for minimize icon component.

open class MinimizeIcon : Widget
(js)

Window

Floating window container.

open class Window : SimplePanel

Functions

(js)

window

DSL builder extension function.

fun Container.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>? = null, className: String? = null, init: (Window.() -> Unit)? = null): Window