omni.kit.menu.utils.scripts.app_menu

Classes Summary:

AppMenu

IconMenuDelegate

MenuDelegate is used to generate widgets that represent the menu item.

IntFlag

Support for integer-based Flags

MenuActionControl

Setting for executing actions. Either NODELAY which is executed instantly or NONE which is async with 1 frame delay

MenuAlignment

Menu alignment setting. Either left or right

MenuItemDescription

Class for creation of menu items

MenuItemOrder

“appear_after” values. FIRST will be top of list and LAST will be bottom of list.

MenuState

Internal state. Invalid is before EVENT_APP_READY event received and Created is after.

Path

PurePath subclass that can make system calls.

PrebuiltItemOrder

Internal flags used by layout for item ordering

uiMenu

The Menu class provides a menu widget for use in menu bars, context menus, and other popup menus.

uiMenuItem

A MenuItem represents the items the Menu consists of.

Functions Summary:

create_prebuild_entry

internal function that creates a entry in prebuilt_menus dictionary

get_action_path

converts menu path into internal path

get_menu_name

gets menu name from menu_entry.name_fn or menu_entry.name

has_delegate_func

returns True if ‘delegate’ has ‘func_name’