panel

fun panel(title: String, zone: DockZone = DockZone.CENTER, next: DockPanel? = null, closable: Boolean = false, init: Div.() -> Unit): DockPanel(source)

adds a panel with title, built by init, in zone of the group next to, the last group when null; a closable panel can be closed, see close