dialog

inline fun RootWidget.dialog(title: String, style: String = defaultStyle, skin: Skin = Scene2DSkin.defaultSkin, init: KDialog.() -> Unit = {}): KDialog

Constructs a top-level Dialog widget.

Return

a new Dialog instance.

Parameters

title

will be displayed as dialog's title.

style

name of the widget style. Defaults to defaultStyle.

skin

Skin instance that contains the widget style. Defaults to Scene2DSkin.defaultSkin.

init

will be invoked on the Dialog widget. Inlined.