Synced
EditorInteraction.TryGetShortcut
Section titled “EditorInteraction.TryGetShortcut”
- Resolves the shortcut displayed for an action in this area.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.Interactions
Scope: Editor
Declaration
Section titled “Declaration”public bool InnoEditor.Interactions.EditorInteraction.TryGetShortcut(string action, out InnoEditor.Interactions.HotKeyGesture gesture)Parameters
Section titled “Parameters”Parameter action: The stable action name.
Parameter gesture: The resolved gesture when successful.
Returns
Section titled “Returns”true when a compatible shortcut exists; otherwise, false.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: Thrown when action is empty.