omni.kit.menu.utils#
Submodules Summary:
| Actions Omniverse Kit API (deprecated) | |
| ui.Menu and ui.MenuItem menu libraries | |
| Definition of MenuItemDescription and other menu classes | |
| Menu debug window. Press “SHIFT+CONTROL+ALT+M” to open. | |
| Simple helper class for adding/removing “Window” menu to your extension. ui.Window creation/show/hide is still down to user to provide functionally. | |
| Advanced helper class for adding/removing “Window” menu to your extension & controlling ui.Window creation/show/hide. Only thing required is function to create ui_window | |
| Layout implementation class. See “Layouts and & Hooks” section | |
| Menu implementation class. | 
Classes Summary:
| Action menu subscription wrapper to make it scoped (auto unsubscribe on del) (deprecated) | |
| Icon Menu Delegate class. | |
| Controls how layouts search for the menu item paths, either everywhere or just in the local menu group | |
| Setting for executing actions. Either NODELAY which is executed instantly or NONE which is async with 1 frame delay | |
| Menu alignment setting. Either left or right | |
| Simple helper class for adding/removing “Window” menu to your extension. ui.Window creation/show/hide is still down to user to provide functionally. | |
| Advanced helper class for adding/removing “Window” menu to your extension & controlling ui.Window creation/show/hide. Only thing required is function to create ui_window | |
| The Window class represents a window in the underlying windowing system. | |
| Class for creation of menu items | |
| “appear_after” values. FIRST will be top of list and LAST will be bottom of list. | |
| Layout implementation class. See “Layouts and & Hooks” section | |
| Internal state. Invalid is before EVENT_APP_READY event received and Created is after. | |
| Menu debug window. Press “SHIFT+CONTROL+ALT+M” to open. | |
| Menu implementation class. | |
| Internal flags used by layout for item ordering | 
Functions Summary:
| Add action to menu path. (deprecated) | |
| add a menu modification callback hook | |
| add a menu layout. | |
| add a list of menus items to menu. | |
| builds a dictionary of List[MenuItemDescription] with sub_menus from List[MenuItemDescription] with full paths. EG: “/Window/Viewport/Viewport 1” | |
| converts menu path into internal path | |
| gets debug stats as dictionary, info on what functions called and how many times. | |
| get MenuUtilsExtension class ptr | |
| get menu layouts. | |
| get combined menus as dictionary | |
| force menus to rebuild, triggering hooks | |
| update menus enabled state | |
| remove a menu modification callback hook | |
| remove a menu layout. | |
| remove a list of menus items to menu. | |
| replace a existing list of menus items to menu. | |
| set default menu priority |