Show / Hide Table of Contents

Class Toplevel

Toplevel views can be modally executed.

Inheritance
System.Object
Responder
View
Toplevel
Window
Inherited Members
Responder.MouseEvent(MouseEvent)
View.Add(View)
View.Add(View[])
View.AddCh(Int32, Int32, Int32)
View.Bounds
View.ChildNeedsDisplay()
View.Clear()
View.ClearNeedsDisplay()
View.ColorScheme
View.DrawFrame(Rect, Boolean)
View.DrawHotString(String, Boolean, ColorScheme)
View.DrawHotString(String, Attribute, Attribute)
View.Driver
View.EnsureFocus()
View.Focused
View.FocusFirst()
View.FocusLast()
View.FocusNext()
View.FocusPrev()
View.Frame
View.GetEnumerator()
View.HasFocus
View.Id
View.LayoutSubviews()
View.MostFocused
View.Move(Int32, Int32)
View.PositionCursor()
View.ProcessColdKey(KeyEvent)
View.ProcessHotKey(KeyEvent)
View.Redraw(Rect)
View.Remove(View)
View.RemoveAll()
View.ScreenToView(Int32, Int32)
View.SetFocus(View)
View.SetNeedsDisplay()
View.SetNeedsDisplay(Rect)
View.Subviews
View.SuperView
View.ToString()
View.WantMousePositionReports
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.

Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX