InspectorTreeView#
- class omni.kit.window.inspector.tree.inspector_tree.InspectorTreeView(
- window: Window,
- update_window_cb: callable,
- **kwargs,
Bases:
objectMethods
__init__(window, update_window_cb, **kwargs)destroy()on_expansion_changed(event)on_selection_changed(event)set_expanded(item, expanded[, recursive])Sets the expansion state of the given item.
toggle_visibility()- __init__(
- window: Window,
- update_window_cb: callable,
- **kwargs,
- set_expanded(
- item: WidgetItem,
- expanded: bool,
- recursive: bool = False,
Sets the expansion state of the given item.
- Parameters:
item (
WidgetItem) – The item to effect.expanded (bool) – True to expand, False to collapse.
recursive (bool) – Apply state recursively to descendent nodes. Default False.