omni.kit.menu.utils.utils Functions
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 |
|
set default menu priority |