visProgressBar

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

Return

a VisProgressBar instance added to this group.

Parameters

min

maximum value displayed by the bar. 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.