Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Creates a static placement for the annotated action on an exact menu surface.

API: scripting
Project: Inno.Editor.Interactions
Scope: Editor

public InnoEditor.Interactions.EditorMenuAttribute.EditorMenuAttribute(string area, string path, int order = 0, bool separatorBefore = false)

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.

Exception T:System.ArgumentException: Thrown when area or path is empty.