Class Window
A toplevel view that draws a frame around its region and has a "ContentView" subview where the contents are added.
Inherited Members
Namespace: Terminal
Assembly: Terminal.dll
Syntax
public class Window : Terminal.Toplevel, System.Collections.IEnumerable
Constructors
Window(Rect, String)
Initializes a new instance of the Window class with an optioanl title
Declaration
public Window (Terminal.Rect frame, string title = null);
Parameters
Type | Name | Description |
---|---|---|
Rect | frame | Frame. |
System.String | title | Title. |
Properties
Title
The title to be displayed for this window.
Declaration
public string Title { get; set; }
Property Value
Type | Description |
---|---|
System.String | The title. |
Methods
Add(View)
Add the specified view to the ContentView.
Declaration
public override void Add (Terminal.View view);
Parameters
Type | Name | Description |
---|---|---|
View | view | View to add to the window. |
GetEnumerator()
Enumerates the various views in the ContentView.
Declaration
public System.Collections.IEnumerator GetEnumerator ();
Returns
Type | Description |
---|---|
System.Collections.IEnumerator | The enumerator. |
Redraw(Rect)
Declaration
public override void Redraw (Terminal.Rect bounds);
Parameters
Type | Name | Description |
---|---|---|
Rect | bounds | To be added. |