visLabel

inline fun <S> KWidget<S>.visLabel(text: CharSequence, style: String = defaultStyle, init: VisLabel.(S) -> Unit = {}): VisLabel

Return

a VisLabel instance added to this group.

Parameters

text

will be displayed on the label.

style

name of the widget style. Defaults to defaultStyle.

init

will be invoked with the widget as "this". Consumes actor container (usually a Cell or Node) that contains the widget. Might consume the actor itself if this group does not keep actors in dedicated containers. Inlined.