matches


Description:

public KeyMatch matches (uint keyval, ModifierType modifiers)

Matches a key event against a keyval and modifiers.

This is typically used to trigger keyboard shortcuts such as Ctrl-C.

Partial matches are possible where the combination matches if the currently active group is ignored.

Note that we ignore Caps Lock for matching.

Parameters:

this

a key `GdkEvent`

keyval

the keyval to match

modifiers

the modifiers to match

Returns:

a `GdkKeyMatch` value describing whether this matches