Synced
EditorMenuAttribute.Constructor
Section titled “EditorMenuAttribute.Constructor”
- Creates a static placement for the annotated action on an exact menu surface.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.Interactions
Scope: Editor
Declaration
Section titled “Declaration”public InnoEditor.Interactions.EditorMenuAttribute.EditorMenuAttribute(string area, string path, int order = 0, bool separatorBefore = false)Parameters
Section titled “Parameters”Parameter area: The exact interaction area whose menu receives the action.
Parameter path: The slash-delimited path used to create parent menus and the leaf label.
Parameter order: The stable ordering value among sibling placements.
Parameter separatorBefore: Whether a visual separator should precede the leaf placement.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: Thrown when area or path is empty.