kvision / pl.treksoft.kvision.window

Package pl.treksoft.kvision.window

Floating, resizable window component.

Types

MaximizeIcon

open class MaximizeIcon : Widget

Helper class for maximize icon component.

MinimizeIcon

open class MinimizeIcon : Widget

Helper class for minimize icon component.

Window

open class Window : SimplePanel

Floating window container.

Functions

window

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> = setOf(), init: (Window.() -> Unit)? = null): Window

DSL builder extension function.