Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Creates a shortcut that can be dispatched from any focused interaction surface.

API: engine
Project: Inno.Editor.Interactions

public Inno.Editor.Interactions.EditorShortcutAttribute.EditorShortcutAttribute(Inno.Core.Input.KeyCode key, Inno.Core.Input.KeyModifier modifiers = Inno.Core.Input.KeyModifier.None, bool primary = false)

Parameter key: The non-modifier key that triggers the action.

Parameter modifiers: The exact additional modifier keys required by the gesture.

Parameter primary: Whether the platform primary modifier, Command on macOS or Control elsewhere, is required.