|
|
| ezActionDescriptor (ezActionType::Enum type, ezActionScope::Enum scope, const char *szName, const char *szCategoryPath, const char *szShortcut, CreateActionFunc createAction, DeleteActionFunc deleteAction=nullptr) |
| |
|
ezAction * | CreateAction (const ezActionContext &context) const |
| |
|
void | DeleteAction (ezAction *pAction) const |
| |
|
void | UpdateExistingActions () |
| |
| ezArrayPtr< ezAction *const > | GetCreatedActions () const |
| |
◆ GetCreatedActions()
The action instances that currently exist for this descriptor.
One descriptor can have any number of live instances, because the same action may be mapped into several windows, menus and toolbars at once, each with its own context. State such as ezButtonAction::IsEnabled() lives on these instances, not on the descriptor, so this is the only way to observe an action's current state without creating an instance.
The documentation for this struct was generated from the following files:
- /home/runner/work/ezEngine/ezEngine/Code/Tools/Libs/GuiFoundation/Action/Action.h
- /home/runner/work/ezEngine/ezEngine/Code/Tools/Libs/GuiFoundation/Action/Implementation/Action.cpp