spinner

inline fun <S> KWidget<S>.spinner(name: String, model: SpinnerModel, style: String = defaultStyle, init: KSpinner.(S) -> Unit = {}): KSpinner

Return

a Spinner instance added to this group.

Parameters

name

label of the Spinner.

model

defines how the Spinner values are chosen.

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.