8.13.15 InputCombo class: A combobox InputItem.

The InputCombo class has this constructor:

class InputCombo( name,choices,default)
Creates a new combobox for the selection of a value from a list.

choices is a list/tuple of possible values. default is the initial/default choice. If default is not in the choices list, it is prepended. If default is None, the first item of choices is taken as the default.

The choices are presented to the user as a combobox, which will initially be set to the default value.

InputCombo objects have the following methods:

value( )
Return the widget's value.

setValue( val)
Change the widget's value.