Yast UI
YSelectionBox Class Reference

Scrollable list selection. More...

Detailed Description

Scrollable list selection.

Following widget variants exist: SelectionBox

A selection box offers the user to select an item out of a list. Each item has a label and an optional id. When constructing the list of items, you have two way of specifying an item. Either you give a plain string, in which case the string is used both for the id and the label of the item. Or you specify a term Item( term id, string label ) or Item( term id, string label, boolean selected ), where you give an id of the form Id( any v ) where you can store an aribtrary value as id. The third argument controls whether the item is the selected item.

The documentation for this class was generated from the following file: