Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Creates a keyboard gesture with an exact set of modifier keys after symbolic-key normalization.

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

public InnoEditor.Interactions.HotKeyGesture.HotKeyGesture(InnoEngine.Input.KeyCode key, InnoEngine.Input.KeyModifier modifiers = InnoEngine.Input.KeyModifier.None, string superModifierLabel = "Super")

Parameter key: The non-modifier key in the gesture.

Parameter modifiers: The modifier keys required by the gesture.

Parameter superModifierLabel: The display name of the Super modifier; the neutral name is used for explicitly constructed gestures.

Exception T:System.ArgumentException: The modifier label is empty.