Event NotifyNewRunState | Terminal.Gui v1 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
Notify that a new Application.RunState was created (Begin(Toplevel) was called). The token is created inBegin(Toplevel) and this event will be fired before that function exits.
public static event Action<Application.RunState> NotifyNewRunState
Returns
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 toBegin(Toplevel) must also subscribe to NotifyStopRunStateand manually dispose of the Application.RunState token when the application is done.