Container
- class omni.ui.Container
Bases:
Widget
Base class for all UI containers. Container can hold one or many other
omni.ui.Widget
sMethods
__init__
(*args, **kwargs)add_child
(self, arg0)Adds widget to this container in a manner specific to the container.
clear
(self)Removes the container items from the container.
Attributes
- __init__(*args, **kwargs)
- add_child(self: omni.ui._ui.Container, arg0: omni.ui._ui.Widget) None
Adds widget to this container in a manner specific to the container. If it’s allowed to have one sub-widget only, it will be overwriten.
- clear(self: omni.ui._ui.Container) None
Removes the container items from the container.