Class TextView
Text data entry widget
Inherited Members
Namespace: Terminal.Gui
Assembly: Terminal.Gui.dll
Syntax
public class TextView : Terminal.Gui.View
Remarks
The Entry widget provides Emacs-like editing functionality, and mouse support.
Constructors
TextView(Rect)
Public constructor.
Declaration
public TextView (Terminal.Gui.Rect frame);
Parameters
Type | Name | Description |
---|---|---|
Rect | frame | To be added. |
Properties
CanFocus
Declaration
public override bool CanFocus { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | To be added. |
CurrentColumn
Gets the cursor column.
Declaration
public int CurrentColumn { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The cursor column. |
CurrentRow
The current cursor row.
Declaration
public int CurrentRow { get; }
Property Value
Type | Description |
---|---|
System.Int32 | To be added. |
Text
Sets or gets the text in the entry.
Declaration
public NStack.ustring Text { get; set; }
Property Value
Type | Description |
---|---|
NStack.ustring | To be added. |
Methods
ClearRegion()
Declaration
public void ClearRegion ();
GetRegion()
Declaration
public NStack.ustring GetRegion ();
Returns
Type | Description |
---|---|
NStack.ustring | To be added. |
PositionCursor()
Sets the cursor position.
Declaration
public override void PositionCursor ();
ProcessKey(KeyEvent)
Declaration
public override bool ProcessKey (Terminal.Gui.KeyEvent kb);
Parameters
Type | Name | Description |
---|---|---|
KeyEvent | kb | To be added. |
Returns
Type | Description |
---|---|
System.Boolean | To be added. |
Redraw(Rect)
Redraw the text editor region
Declaration
public override void Redraw (Terminal.Gui.Rect region);
Parameters
Type | Name | Description |
---|---|---|
Rect | region | The region to redraw. |