Class KeyEvent | Terminal.Gui v1 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
Describes a keyboard event.
Inheritance
KeyEvent
Inherited Members
Constructors
Constructs a new KeyEvent
Constructs a new KeyEvent from the provided Key value - can be a rune cast into a Key value
Fields
Symbolic definition for the key.
Properties
Gets a value indicating whether the Alt key was pressed (real or synthesized)
Gets a value indicating whether the Caps lock key was pressed (real or synthesized)
Determines whether the value is a control key (and NOT just the ctrl key)
Gets a value indicating whether the Num lock key was pressed (real or synthesized)
Gets a value indicating whether the Scroll lock key was pressed (real or synthesized)
Gets a value indicating whether the Shift key was pressed.
The key value cast to an integer, you will typical use this for extracting the Unicode rune value out of a key, when none of the symbolic options are in use.
Methods
Pretty prints the KeyEvent