MenuUtilsExtension#
- class omni.kit.menu.utils.utils.MenuUtilsExtension#
Bases:
IExt
Menu implementation class.
Methods
__init__
(self)add_hook
(callback)add_layout
(layout)add_menu_items
(menu, name, menu_index, ...)clear_menu_data
()gets debug stats as dictionary, info on what functions called and how many times.
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, can_rebuild_menus)replace_menu_items
(new_menu, old_menu, name)set_default_menu_priority
(name, menu_index)set_default_menu_proirity
(**kwargs)- __init__(self: omni.ext._extensions.IExt) → None#
- get_debug_stats() → dict#
gets debug stats as dictionary, info on what functions called and how many times.