PageModel#
- class omni.kit.window.preferences.scripts.preference_builder.PageModel(page_list: List[str])#
Bases:
AbstractItemModel
Methods
__init__
(self)Constructs AbstractItemModel.
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.
The number of columns
- __init__(self: omni.ui._ui.AbstractItemModel) None #
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.