ComboBoxListItem
- class omni.kit.widget.searchable_combobox.combo_model.ComboBoxListItem(text)
Bases:
AbstractItem
Single item of the model.
- Parameters
text (str) – The text to be displayed by the item.
Methods
__init__
(text)Initializes a new instance of ComboBoxListItem with the specified text.
prefilter
(filter_name_text)Filters this item based on the provided filter name text.
- __init__(text)
Initializes a new instance of ComboBoxListItem with the specified text.
- prefilter(filter_name_text: str)
Filters this item based on the provided filter name text.
- Parameters
filter_name_text (str) – The text to filter by. If empty, the item is marked as visible.