Method RequestStop | Terminal.Gui v2 (original) (raw)

Table of Contents

Namespace

Terminal.Gui

Assembly

Terminal.Gui.dll

RequestStop(Toplevel?)

Stops the provided Toplevel, causing or the top if provided.

public override void RequestStop(Toplevel? top)

Parameters

top Toplevel

The Toplevel to stop.

Remarks

This will cause Run(Toplevel, Func<Exception, bool>?) to return.

Calling RequestStop(Toplevel?) is equivalent to setting the Running property on the currently running Toplevel to false.

Edit this page