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

API: engine
Project: Inno.Editor.Interactions

public Inno.Editor.Interactions.HotKeyGesture.HotKeyGesture(Inno.Core.Input.KeyCode key, Inno.Core.Input.KeyModifier modifiers = Inno.Core.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.