Table of Contents

Method ApplyKeyBindings

Namespace
Terminal.Gui.ViewBase
Assembly
Terminal.Gui.dll

ApplyKeyBindings(params Dictionary<Command, PlatformKeyBinding>?[])

Applies layered key bindings from the provided dictionaries. Only commands that the view supports (via GetSupportedCommands()) are bound. Keys already bound are not overwritten.

protected void ApplyKeyBindings(params Dictionary<Command, PlatformKeyBinding>?[] layers)

Parameters

layers Dictionary<Command, PlatformKeyBinding>[]