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