ComboBoxItem#

class omni.kit.viewport.menubar.core.ComboBoxItem(text: str, value: Any)#

Bases: AbstractItem

A data item for a single item in combobox drop list.

Methods

__init__(text, value)

Constructor.

__init__(text: str, value: Any) None#

Constructor.

Parameters:
  • text (str) – Item text.

  • value (Any) – Item value.