visTextField

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

Return

a VisTextField instance added to this group.

Parameters

text

initial text displayed by the field. Defaults to empty string.

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.