Class ShortcutsKt
-
- All Implemented Interfaces:
public final class ShortcutsKt
-
-
Method Summary
Modifier and Type Method Description final static UnitfireShortcut(Key key, Key modifiers)Fires a shortcut event with given key and modifiers in the current UI. final static Unit_fireShortcut(Component $self, Key key, Key modifiers)Use the global fireShortcut()function unless you know what you're doing!-
-
Method Detail
-
fireShortcut
final static Unit fireShortcut(Key key, Key modifiers)
Fires a shortcut event with given key and modifiers in the current UI. This will in turn notify all components currently attached to the current UI which subscribed for this exact key combination.
-
_fireShortcut
final static Unit _fireShortcut(Component $self, Key key, Key modifiers)
Use the global
fireShortcut()function unless you know what you're doing!
-
-
-
-