Namespace Terminal.Gui
Classes
The application driver for Terminal.Gui.
Event arguments for the Resized event.
Captures the execution state for the provided Terminal.Gui.Application.RunState.Toplevel view.
Button is a View that provides an item that invokes an System.Action when activated by the user.
The CheckBox View shows an on/off toggle that the user can set
Provides cut, copy, and paste support for the clipboard.
NOTE: Currently not implemented.
Color scheme definitions, they cover some common scenarios and are used
typically in containers such as Window and FrameView to set the scheme that is used by all the
views contained inside.
ConsoleDriver is an abstract class that defines the requirements for a console driver.
There are currently three implementations: Terminal.Gui.CursesDriver (for Unix and Mac), Terminal.Gui.WindowsDriver, and Terminal.Gui.NetDriver that uses the .NET Console API.
The Dialog View is a Window that by default is centered and contains one
or more Button. It defaults to the Dialog color scheme and has a 1 cell padding around the edges.
Dim properties of a View to control the position.
The FrameView is a container frame that draws a frame around the contents. It is similar to
a GroupBox in Windows.
An hex viewer and editor View over a System.IO.Stream
Describes a keyboard event.
The Label View displays a string at a given position and supports multiple lines separted by newline characters.
ListView View renders a scrollable list of data where each item can be activated to perform an action.
Simple main loop implementation that can be used to monitor
file descriptor, run timers and idle handlers.
The MenuBar provides a menu for Terminal.Gui applications.
A MenuItem has a title, an associated help text, and an action to execute on activation.
MessageBox displays a modal message to the user, with a title, a message and a series of options that the user can choose from.
The OpenDialogprovides an interactive dialog box for users to select files or directories.
Describes the position of a View which can be an absolute value, a percentage, centered, or
relative to the ending dimension. Integer values are implicitly convertible to
an absolute Pos. These objects are created using the static methods Percent,
AnchorEnd, and Center. The Pos objects can be combined with the addition and
subtraction operators.
A Progress Bar view that can indicate progress of an activity visually.
RadioGroup shows a group of radio labels, only one of those can be selected at a given time
Responder base class implemented by objects that want to participate on keyboard and mouse input.
The SaveDialog provides an interactive dialog box for users to pick a file to
save.
ScrollBarViews are views that display a 1-character scrollbar, either horizontal or vertical
Scrollviews are views that present a window into a virtual space where children views are added. Similar to the iOS UIScrollView.
A status bar is a View that snaps to the bottom of a Toplevel displaying set of StatusItems.
The StatusBar should be context sensitive. This means, if the main menu and an open text editor are visible, the items probably shown will
be ~F1~ Help ~F2~ Save ~F3~ Load. While a dialog to ask a file to load is executed, the remaining commands will probably be ~F1~ Help.
So for each context must be a new instance of a statusbar.
Single-line text entry View
Multi-line text editing View
Toplevel views can be modally executed.
View is the base class for all views on the screen and represents a visible element that can render itself and contains zero or more nested views.
Specifies the event arguments for KeyEvent
A Toplevel View that draws a frame around its region and has a "ContentView" subview where the contents are added.
Structs
Attributes are used as elements that contain both a foreground and a background or platform specific features
Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional plane.
Stores a set of four integers that represent the location and size of a rectangle
Stores an ordered pair of integers, which specify a Height and Width.
Interfaces
Interface to create platform specific main loop drivers.
Enums
Basic colors that can be used to set the foreground and background colors in console applications. These can only be
The Key enumeration contains special encoding for some keys, but can also
encode all the unicode values that can be passed.
Determines the LayoutStyle for a view, if Absolute, during LayoutSubviews, the
value from the Frame will be used, if the value is Computer, then the Frame
will be updated from the X, Y Pos objects and the Width and Height Dim objects.
Text alignment enumeration, controls how text is displayed.