Package: gtk

Function gtk:shortcut-trigger-trigger

Lambda List

gtk:shortcut-trigger-trigger (shortcut event enable)

Arguments

shortcut -- a gtk:shortcut-trigger object
event -- a gdk:event instance
enable -- a boolean whether mnemonics should trigger

Return Value

The gdk:key-match value whether the event triggered the shortcut.

Details

Checks if the given event triggers shortcut. Usually the value of enable is determined by checking that the passed in event is a key event and has the right modifiers set.
 

See also

#2024-11-1