listWidgetOf

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

Return

a List widget instance added to this group.

Parameters

items

optional libGDX array of list widget 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.