refresh_menu_items

omni.kit.menu.utils.scripts.utils.refresh_menu_items(name: str, immediately=None)

update menus enabled state menu is list of MenuItemDescription() name is name to appear when menu is collapsed immediately is deprecated and not used