Modifier Shortcut
interface ModifierShortcut
Content copied to clipboard
This interface models the modifier shortcuts, that enable combination of shortcuts like "STRG + F" or alike.
If offers default implementation for concatenating modifiers with "real" shortcuts or just Strings to offer a beautiful readable shortcut combination:
// Start with modifier shortcut and append just a String
Keys.Control + "K"
// or other way round
Shortcut("K") + Keys.Control
See also
Functions
plus
Link copied to clipboard
This operator function enables the concatenation with simply a String to enable a nice readable keyboard combination:Be aware that the Shortcut.key property is case sensitive just likte the KeyboardEvent.key property.
Keys.Shift + "F"
Properties
Inheritors
Shortcut
Link copied to clipboard
Extensions
plus
Link copied to clipboard
operator fun ModifierShortcut.plus(other: ModifierShortcut): ModifierShortcut
Content copied to clipboard