AppMenu

class omni.kit.menu.utils.scripts.app_menu.AppMenu(get_instance: callable)

Bases: object

Methods

__init__(get_instance)

add_hook(callback)

clear_menu_data()

create_menu()

destroy()

get_fn_result(menu_entry, name[, default])

get_menu_data()

get_menu_layout()

merge_menus(menu_keys, menu_defs, menu_order)

prebuild_menu(menus, prefix_name, ...)

refresh_menu_items(name[, action_path])

remove_hook(callback)

set_right_padding(padding)

sort_menu_hook(merged_menu)

__init__(get_instance: callable)