gdk.key_event
Module for [KeyEvent] class
class KeyEvent
Types 1
classKeyEvent : gdk.event.Event
An event related to a key-based device.
Methods
gdk.types.ModifierType getConsumedModifiers() nothrowExtracts the consumed modifiers from a key event. Returns: the consumed modifiers or eventbool getMatch(out uint keyval, out gdk.types.ModifierType modifiers) nothrowGets a keyval and modifier combination that will match the event.bool isModifier() nothrowExtracts whether the key event is for a modifier key. Returns: true if the event is for a modifier keygdk.types.KeyMatch matches(uint keyval, gdk.types.ModifierType modifiers) nothrowMatches a key event against a keyval and modifiers.