MenuUtilsExtension
- class omni.kit.menu.utils.scripts.MenuUtilsExtension
Bases:
IExt
Menu implementation class.
Methods
__init__
(self)add_hook
(callback)add_layout
(layout)add_menu_items
(menu, name, menu_index, ...)get_menu_data
()get_menu_layout
()get_merged_menus
()on_shutdown
()on_startup
(ext_id)rebuild_menus
()refresh_menu_items
(name[, immediately])remove_hook
(callback)remove_layout
(layout)remove_menu_items
(menu, name, rebuild_menus)replace_menu_items
(new_menu, old_menu, name)set_default_menu_proirity
(name, menu_index)- __init__(self: omni.ext._extensions.IExt) → None