visSelectBoxOf

fun <I> KWidget<*>.visSelectBoxOf(items: Array<I>? = null, style: String = defaultStyle): KVisSelectBox<I>

Return

a VisSelectBox instance added to this group.

Parameters

items

optional libGDX array of the VisSelectBox items. Defaults to null.

style

name of the widget style. Defaults to defaultStyle.

I

type of items stored by this widget. Usually items are converted to string and displayed.