AbstractActionsModel#
- class omni.kit.actions.window.AbstractActionsModel(
- column_registry: ColumnRegistry,
Bases:
AbstractItemModelGeneral data model for actions.
- Parameters:
column_registey (ColumnRegistry) – Registry to get column.
Methods
__init__(self)Constructs AbstractItemModel.
clean()get_detail_items(item)get_ext_items()get_item_children(self[, parentItem])Returns the vector of items that are nested to the given parent item.
get_item_value_model(self[, item, column_id])Get the value model associated with this item.
get_item_value_model_count(self[, item])Returns the number of columns this model item contains.
- __init__(
- self: omni.ui._ui.AbstractItemModel,
Constructs AbstractItemModel.
- `kwargsdict`
See below
### Keyword Arguments:
- get_item_children(
- self: omni.ui._ui.AbstractItemModel,
- parentItem: omni.ui._ui.AbstractItem = None,
Returns the vector of items that are nested to the given parent item.
### Arguments:
- `id :`
The item to request children from. If it’s null, the children of root will be returned.
- get_item_value_model(
- self: omni.ui._ui.AbstractItemModel,
- item: omni.ui._ui.AbstractItem = None,
- column_id: int = 0,
Get the value model associated with this item.
### Arguments:
- `item :`
The item to request the value model from. If it’s null, the root value model will be returned.
- `index :`
The column number to get the value model.
- get_item_value_model_count(
- self: omni.ui._ui.AbstractItemModel,
- item: omni.ui._ui.AbstractItem = None,
Returns the number of columns this model item contains.