Method
GtkShortcutTriggertrigger
Declaration [src]
GdkKeyMatch
gtk_shortcut_trigger_trigger (
GtkShortcutTrigger* self,
GdkEvent* event,
gboolean enable_mnemonics
)
Parameters
event
-
Type:
GdkEvent
The event to check.
The data is owned by the caller of the method. enable_mnemonics
-
Type:
gboolean
TRUE
if mnemonics should trigger. Usually the value of this property is determined by checking that the passed inevent
is a Key event and has the right modifiers set.
Return value
Type: GdkKeyMatch
Whether the event triggered the shortcut.