Table of Contents

Method Init

Namespace
UICatalog
Assembly
UICatalog.dll

Init(ColorScheme)

Helper that provides the default Window implementation with a frame and label showing the name of the Scenario and logic to exit back to the Scenario picker UI. Override Init(ColorScheme) to provide any Toplevel behavior needed.

public virtual void Init(ColorScheme colorScheme)

Parameters

colorScheme ColorScheme

The colorscheme to use.

Remarks

The base implementation calls Init(ConsoleDriver, IMainLoopDriver) and creates a Window for Win and adds it to Top.

Overrides that do not call the base.Run(), must call Init(ConsoleDriver, IMainLoopDriver) before creating any views or calling other Terminal.Gui APIs.