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

Namespace

Terminal.Gui

Assembly

Terminal.Gui.dll

RequestStop()

Stops and closes this Toplevel. If this Toplevel is the top-most Toplevel,RequestStop(Toplevel) will be called, causing the application to exit.

public virtual void RequestStop()

RequestStop(Toplevel)

Stops and closes the Toplevel specified by top. If top is the top-most Toplevel,RequestStop(Toplevel) will be called, causing the application to exit.

public virtual void RequestStop(Toplevel top)

Parameters

top Toplevel

The toplevel to request stop.