visSlider

inline fun <S> KWidget<S>.visSlider(min: Float = 0.0f, max: Float = 100.0f, step: Float = 1.0f, vertical: Boolean = false, style: String = if (vertical) defaultVerticalStyle else defaultHorizontalStyle, init: VisSlider.(S) -> Unit = {}): VisSlider

Return

a VisSlider instance added to this group.

Parameters

min

maximum value displayed by the slider. Defaults to 1.

step

the size of a single step between two values. Defaults to 0.01.

vertical

true if the widget is vertical, false if horizontal.

style

name of the widget style. Defaults to defaultVerticalStyle if the widget is vertical or defaultHorizontalStyle if the widget is horizontal.

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.