Class Toplevel
Toplevel views can be modally executed.
Inherited Members
Namespace: Terminal
Assembly: Terminal.dll
Syntax
public class Toplevel : Terminal.View
Remarks
Toplevels can be modally executing views, and they return control to the caller when the "Running" property is set to false.
Constructors
Toplevel(Rect)
Initializes a new instance of the Toplevel class.
Declaration
public Toplevel (Terminal.Rect frame);
Parameters
Type | Name | Description |
---|---|---|
Rect | frame | Frame. |
Fields
Running
This flag is checked on each iteration of the mainloop and it continues running until this flag is set to false.
Declaration
public bool Running;
Field Value
Type | Description |
---|---|
System.Boolean | To be added. |
Properties
CanFocus
Declaration
public override bool CanFocus { get; }
Property Value
Type | Description |
---|---|
System.Boolean | To be added. |
Methods
Create()
Convenience factory method that creates a new toplevel with the current terminal dimensions.
Declaration
public static Terminal.Toplevel Create ();
Returns
Type | Description |
---|---|
Toplevel | The create. |
ProcessKey(KeyEvent)
Declaration
public override bool ProcessKey (Terminal.KeyEvent kb);
Parameters
Type | Name | Description |
---|---|---|
KeyEvent | kb | To be added. |
Returns
Type | Description |
---|---|
System.Boolean | To be added. |