#include <datadescription_ui.h>
Structure to store a menu definition.
Public Member Functions | |
Result< void > | CopyFrom (const SubMenuEntry &src) |
Static Public Member Functions | |
static Bool | LessThan (const SubMenuEntry &a, const SubMenuEntry &b) |
|
static |
Compare function for menu sorting.
[in] | a | Entry 1. |
[in] | b | Entry 2. |
Result<void> CopyFrom | ( | const SubMenuEntry & | src | ) |
Id _identifier |
unique identifier to allow selections (e.g. in treeviews)
Id _identifierOriginal |
unique identifier to allow feature highilghting
String _name |
name of the menu entry
Id _commandShortcutId |
id of the icon
Id _iconId |
id of the icon
Id _commandId |
id of the associated C4D command
DESCRIPTIONMESSAGECHECKFLAGS _flags |
state flags of the menu entry see DESCRIPTIONMESSAGECHECKFLAGS.
Id _commandContext |
context to which the command belongs.
DescriptionMessageCall _function |
function callback to call the function
StrongRef<BaseArray<SubMenuEntry> > _subEntryRef |
optional sub menu entry. in that case _function must be nullptr.