visTextButton

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

Return

a VisTextButton instance added to this group.

Parameters

text

will be displayed as VisTextButton text.

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.