GdkKeyMatch

Describes how well an event matches a given keyval and modifiers.

gdk.types.KeyMatch values are returned by gdk.key_event.KeyEvent.matches.

Values

ValueMeaning
None0

The key event does not match

Partial1

The key event matches if keyboard state (specifically, the currently active group) is ignored

Exact2

The key event matches