visSelectBox

inline fun <I> KWidget<*>.visSelectBox(style: String = defaultStyle, init: KVisSelectBox<I>.() -> Unit = {}): KVisSelectBox<I>

Return

a VisSelectBox instance added to this group.

Parameters

style

name of the widget style. Defaults to defaultStyle.

init

will be invoked with the widget as "this". Note that in contrary to other widgets, this init function has no parameters. If you need to access Cell or Node that this list is in, use KTable.cell, KTable.inCell, KTree.node or KTree.inNode. Allows to fill select box items.

I

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