Package: gdk

Function gdk:key-event-matches

Lambda List

gdk:key-event-matches (event keyval modifiers)

Arguments

event -- a gdk:event instance
keyval -- an unsigned integer with the keyval to match
modifiers -- a gdk:modifier-type value to match

Return Value

The gdk:key-match value describing whether event matches.

Details

Matches a key event against a keyboard shortcut that is specified as a keyval and modifiers. Partial matches are possible where the combination matches if the currently active group is ignored.

Note that we ignore the Caps Lock key for matching.
 

See also

#2023-7-23