ShortcutTrigger.trigger

Checks if the given @event triggers @self.

class ShortcutTrigger
trigger

Parameters

event Event

the event to check

enableMnemonics bool

%TRUE if mnemonics should trigger. Usually the value of this property is determined by checking that the passed in @event is a Key event and has the right modifiers set.

Return Value

Whether the event triggered the shortcut

Meta