Class KeyEvent

Keyboard event

Inherits from

  • Object (base class)

Constructors

Name Description
this create key event

Fields

Name Type Description
_action KeyAction action
_flags uint key flags bit set, usually combined from KeyFlag enum
_keyCode uint key code, usually from KeyCode enum
_text dstring entered text

Properties

Name Type Description
action [get] KeyAction key action (KeyDown, KeyUp, Text, Repeat)
flags [get] uint flags (shift, ctrl, alt...) - KeyFlag enum
keyCode [get] uint key code (usually from KeyCode enum)
text [get] dstring entered text, for Text action

Authors

Vadim Lopatin, coolreader.org@gmail.com

Copyright

Vadim Lopatin, 2014

License

Boost License 1.0