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: engine
Project: Inno.Editor.Interactions
Declaration
Section titled “Declaration”public Inno.Editor.Interactions.HotKeyGesture.HotKeyGesture(Inno.Core.Input.KeyCode key, Inno.Core.Input.KeyModifier modifiers = Inno.Core.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.