Synced
HotKeyGesture.Constructor
Section titled “HotKeyGesture.Constructor”
- Creates a keyboard gesture with an exact set of modifier keys after symbolic-key normalization.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.Interactions
Scope: Editor
Declaration
Section titled “Declaration”public InnoEditor.Interactions.HotKeyGesture.HotKeyGesture(InnoEngine.Input.KeyCode key, InnoEngine.Input.KeyModifier modifiers = InnoEngine.Input.KeyModifier.None, string superModifierLabel = "Super")Parameters
Section titled “Parameters”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.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: The modifier label is empty.