gdk.key_event

Module for [KeyEvent] class

class KeyEvent

Types 1

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 event
uint getKeycode() nothrowExtracts the keycode from a key event. Returns: the keycode of event
uint getKeyval() nothrowExtracts the keyval from a key event. Returns: the keyval of event
uint getLayout() nothrowExtracts the layout from a key event. Returns: the layout of event
uint getLevel() nothrowExtracts the shift level from a key event. Returns: the shift level of event
bool 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 key
gdk.types.KeyMatch matches(uint keyval, gdk.types.ModifierType modifiers) nothrowMatches a key event against a keyval and modifiers.
Constructors
this(void * ptr, Flag!"Take" take)