ComboBox (hwx.gui)

A ComboBox is used for displaying various options. Only one option can be selected.

Inherits:

Public Methods

setValues (self, values, value=None)

Method Details

setValues(self, values, value=None)

Changes the the contents.

Values is the same as on the constructor. If value is specified, sets with the specified value.

param values:The values to set for the ComboBox.
type values:Union[str, list[str]]
param value:The value to set for the ComboBox.
type value:str