omni.kit.menu.utils.scripts.app_menu

Classes Summary:

AppMenu

IconMenuBaseDelegate

Icon Menu Delegate class.

IconMenuDelegate

Icon Menu Delegate class.

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.

MenuLayout

Layout implementation class. See “Layouts and & Hooks” section

MenuState

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

PrebuiltItemOrder

Internal flags used by layout for item ordering

uiMenu

ui.Menu subclass. Has glyph, menu_checkable, menu_hotkey_text, submenu and parent_menu properties

uiMenuItem

ui.MenuItem subclass. Has glyph, menu_checkable, menu_hotkey_text and parent_menu properties

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

Checks if delegate class has func_name function.