selectBoxOf

fun <I> KWidget<*>.selectBoxOf(items: Array<I>? = null, style: String = defaultStyle, skin: Skin = Scene2DSkin.defaultSkin): KSelectBox<I>

Return

a SelectBox instance added to this group.

Parameters

items

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

style

name of the widget style. Defaults to defaultStyle.

skin

Skin instance that contains the widget style. Defaults to Scene2DSkin.defaultSkin.

I

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