omni.kit.menu.utils.scripts.app_menu
Classes Summary:
MenuDelegate is used to generate widgets that represent the menu item. |
|
Support for integer-based Flags |
|
Setting for executing actions. Either NODELAY which is executed instantly or NONE which is async with 1 frame delay |
|
Menu alignment setting. Either left or right |
|
Class for creation of menu items |
|
“appear_after” values. FIRST will be top of list and LAST will be bottom of list. |
|
Internal state. Invalid is before EVENT_APP_READY event received and Created is after. |
|
PurePath subclass that can make system calls. |
|
Internal flags used by layout for item ordering |
|
The Menu class provides a menu widget for use in menu bars, context menus, and other popup menus. |
|
A MenuItem represents the items the Menu consists of. |
Functions Summary:
internal function that creates a entry in prebuilt_menus dictionary |
|
converts menu path into internal path |
|
gets menu name from menu_entry.name_fn or menu_entry.name |
|
returns True if ‘delegate’ has ‘func_name’ |