Table of Contents

Event NotifyNewRunState

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Notify that a new Application.RunState was created (Begin(Toplevel) was called). The token is created in Begin(Toplevel) and this event will be fired before that function exits.

public static event Action<Application.RunState> NotifyNewRunState

Returns

Action<Application.RunState>
Notify that a new was created ( was called). The token is created in and this event will be fired before that function exits.

Remarks

If ExitRunLoopAfterFirstIteration is true callers to Begin(Toplevel) must also subscribe to NotifyStopRunState and manually dispose of the Application.RunState token when the application is done.