Table of Contents

Class KeyBindings

Namespace
Terminal.Gui.Input
Assembly
Terminal.Gui.dll

Provides a collection of Keys bound to Commands.

public class KeyBindings : CommandBindingsBase<Key, KeyBinding>
Inheritance
KeyBindings
Inherited Members

Constructors

KeyBindings()

Initializes a new instance.

Methods

AddApp(Key, View?, params Command[])

For Application-level HotKey Bindings (KeyBindings); Adds key will trigger the commands in commands on the View specified by target.

If the key is already bound to a different array of Commands it will be rebound commands.

IsValid(Key)

Tests whether eventArgs is valid or not.

See Also