Table of Contents

Constructor Shortcut

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Shortcut(Key, string, Action, string)

Creates a new instance of Shortcut.

public Shortcut(Key key, string commandText, Action action, string helpText = null)

Parameters

key Key
commandText string
action Action
helpText string

Remarks

This is a helper API that mimics the V1 API for creating StatusItems.

Shortcut()

Creates a new instance of Shortcut.

public Shortcut()