Class ApplicationImpl | Terminal.Gui v2 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
Original Terminal.Gui implementation of core Application methods.
public class ApplicationImpl : IApplication
Inheritance
ApplicationImpl
Implements
Derived
Inherited Members
Properties
Gets the currently configured backend implementation of Application gateway methods. Change to your own implementation by using ChangeInstance(IApplication) (before init).
true if implementation is 'old'. false if implementation is cutting edge.
Methods
Adds specified idle handler function to main iteration processing. The handler function will be called once per iteration of the main loop after other events have been handled.
Adds a timeout to the application.
Change the singleton implementation, should not be called except before application startup. This method lets you provide alternative implementations of core static gateway methods of Application.
Init(IConsoleDriver?, string?)
Initializes a new instance of Terminal.Gui Application.
Runs action
on the main UI loop thread
Causes any Toplevels that need layout to be laid out. Then draws any Toplevels that need display. Only Views that need to be laid out (see NeedsLayout) will be laid out. Only Views that need to be drawn (see NeedsDraw) will be drawn.
Removes a previously scheduled timeout
Stops the provided Toplevel, causing or the top
if provided.
Run(Func<Exception, bool>?, IConsoleDriver?)
Runs the application by creating a Toplevel object and callingRun(Toplevel, Func<Exception, bool>?).
Run(Toplevel, Func<Exception, bool>?)
Runs the Application using the provided Toplevel view.
Run(Func<Exception, bool>?, IConsoleDriver?)
Runs the application by creating a Toplevel-derived object of type T
and callingRun(Toplevel, Func<Exception, bool>?).
Shutdown an application initialized with Init(IConsoleDriver?, string?).