Terminal.Gui
1.0.0.0
System.Object
The application driver for gui.cs
You can hook up to the Iteration event to have your method
invoked on each iteration of the mainloop.
Creates a mainloop to process input events, handle timers and
other sources of data. It is accessible via the MainLoop property.
When invoked sets the SynchronizationContext to one that is tied
to the mainloop, allowing user code to use async/await.
Method
1.0.0.0
Terminal.Gui.Application+RunState
Toplevel to prepare execution for.
Building block API: Prepares the provided toplevel for execution.
The runstate handle that needs to be passed to the End() method upon completion.
This method prepares the provided toplevel for running with the focus,
it adds this to the list of toplevels, sets up the mainloop to process the
event, lays out the subviews, focuses the first element, and draws the
toplevel in the screen. This is usually followed by executing
the method, and then the method upon termination which will
undo these changes.
Property
1.0.0.0
Terminal.Gui.Toplevel
The current toplevel object. This is updated when Application.Run enters and leaves and points to the current toplevel.
The current.
To be added.
Field
1.0.0.0
Terminal.Gui.ConsoleDriver
The current Console Driver in use.
To be added.
Method
1.0.0.0
System.Void
The runstate returned by the method.
Building block API: completes the exection of a Toplevel that was started with Begin.
To be added.
Method
1.0.0.0
System.Void
View that will receive all mouse events until UngrabMouse is invoked.
Grabs the mouse, forcing all mouse events to be routed to the specified view until UngrabMouse is called.
The grab.
To be added.
Method
1.0.0.0
System.Void
Initializes the Application
To be added.
Event
1.0.0.0
System.EventHandler
This event is raised on each iteration of the
main loop.
See also
Property
1.0.0.0
Mono.Terminal.MainLoop
The mainloop driver for the applicaiton
The main loop.
To be added.
Method
1.0.0.0
Terminal.Gui.Rect
Size for the rectangle.
Returns a rectangle that is centered in the screen for the provided size.
The centered rect.
To be added.
Method
1.0.0.0
System.Void
Triggers a refresh of the entire display.
To be added.
Method
1.0.0.0
System.Void
Stops running the most recent toplevel
To be added.
Field
1.0.0.0
System.Action<Terminal.Gui.MouseEvent>
Merely a debugging aid to see the raw mouse events
To be added.
Method
1.0.0.0
System.Void
Runs the application with the built-in toplevel view
To be added.
Method
1.0.0.0
System.Void
To be added.
Runs the main loop on the given container.
This method is used to start processing events
for the main application, but it is also used to
run modal dialog boxes.
To make a toplevel stop execution, set the "Running"
property to false.
This is equivalent to calling Begin on the toplevel view, followed by RunLoop with the
returned value, and then calling end on the return value.
Alternatively, if your program needs to control the main loop and needs to
process events manually, you can invoke Begin to set things up manually and then
repeatedly call RunLoop with the wait parameter set to false. By doing this
the RunLoop method will only process any pending events, timers, idle handlers and
then return control immediately.
Method
1.0.0.0
System.Void
The state returned by the Begin method.
By default this is true which will execute the runloop waiting for events, if you pass false, you can use this method to run a single iteration of the events.
Building block API: Runs the main loop for the created dialog
Use the wait parameter to control whether this is a
blocking or non-blocking call.
Property
1.0.0.0
Terminal.Gui.Toplevel
The Toplevel object used for the application on startup.
The top.
To be added.
Method
1.0.0.0
System.Void
Releases the mouse grab, so mouse events will be routed to the view on which the mouse is.
To be added.
Field
1.0.0.0
System.Boolean
If set, it forces the use of the System.Console-based driver.
To be added.