WidgetComboValueModel#
- class omni.kit.window.inspector.property.widget_model.WidgetComboValueModel(key, value)#
Bases:
AbstractValueModelModel to store a pair (label, value of arbitrary type) for use in a ComboBox
Methods
__init__(key, value)we call this to get the value of the combo box item
this is called to get the label of the combo box item
Attributes
- __init__(key, value)#
- Parameters:
value – the instance of the Style value
- get_style_value() int#
we call this to get the value of the combo box item
- get_value_as_string() str#
this is called to get the label of the combo box item