DisplayMenuContainer

class omni.kit.viewport.menubar.display.display_menu_container.DisplayMenuContainer

Bases: ViewportMenuContainer

The menu with the visibility settings

Methods

__init__(self)

build_fn(viewport_context)

Reimplement it to have own customized item

deregister_custom_category_item(category, item)

deregister_custom_setting(text)

destroy()

register_custom_category_item(category, ...)

register_custom_setting(text, setting_path)

Attributes

__init__(self: omni.ui._ui.AbstractItem) None
build_fn(viewport_context: dict)

Reimplement it to have own customized item