trigger


Description:

public KeyMatch trigger (Event event, bool enable_mnemonics)

Checks if the given event triggers this.

Parameters:

this

a `GtkShortcutTrigger`

event

the event to check

enable_mnemonics

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.

Returns:

Whether the event triggered the shortcut