### YamlMime:ManagedReference
items:
- uid: Terminal.Button
id: Button
children:
- Terminal.Button.#ctor(System.String)
- Terminal.Button.#ctor(System.String,System.Boolean)
- Terminal.Button.#ctor(System.Int32,System.Int32,System.String)
- Terminal.Button.#ctor(System.Int32,System.Int32,System.String,System.Boolean)
- Terminal.Button.Clicked
- Terminal.Button.IsDefault
- Terminal.Button.MouseEvent(Terminal.MouseEvent)
- Terminal.Button.PositionCursor
- Terminal.Button.ProcessColdKey(Terminal.KeyEvent)
- Terminal.Button.ProcessHotKey(Terminal.KeyEvent)
- Terminal.Button.ProcessKey(Terminal.KeyEvent)
- Terminal.Button.Redraw(Terminal.Rect)
- Terminal.Button.Text
langs:
- csharp
name: Button
nameWithType: Button
fullName: Terminal.Button
type: Class
assemblies:
- Terminal
namespace: Terminal
summary: Button view
remarks: >-
Provides a button that can be clicked, or pressed with
the enter key and processes hotkeys (the first uppercase
letter in the button becomes the hotkey).
syntax:
content: 'public class Button : Terminal.View'
inheritance:
- System.Object
- Terminal.Responder
- Terminal.View
implements: []
inheritedMembers:
- Terminal.Responder.CanFocus
- Terminal.View.Add(Terminal.View)
- Terminal.View.Add(Terminal.View[])
- Terminal.View.AddCh(System.Int32,System.Int32,System.Int32)
- Terminal.View.Bounds
- Terminal.View.ChildNeedsDisplay
- Terminal.View.Clear
- Terminal.View.ClearNeedsDisplay
- Terminal.View.ColorScheme
- Terminal.View.DrawFrame(Terminal.Rect,System.Boolean)
- Terminal.View.DrawHotString(System.String,System.Boolean,Terminal.ColorScheme)
- Terminal.View.DrawHotString(System.String,Terminal.Attribute,Terminal.Attribute)
- Terminal.View.Driver
- Terminal.View.EnsureFocus
- Terminal.View.Focused
- Terminal.View.FocusFirst
- Terminal.View.FocusLast
- Terminal.View.FocusNext
- Terminal.View.FocusPrev
- Terminal.View.Frame
- Terminal.View.GetEnumerator
- Terminal.View.HasFocus
- Terminal.View.Id
- Terminal.View.LayoutSubviews
- Terminal.View.MostFocused
- Terminal.View.Move(System.Int32,System.Int32)
- Terminal.View.Remove(Terminal.View)
- Terminal.View.RemoveAll
- Terminal.View.ScreenToView(System.Int32,System.Int32)
- Terminal.View.SetFocus(Terminal.View)
- Terminal.View.SetNeedsDisplay
- Terminal.View.SetNeedsDisplay(Terminal.Rect)
- Terminal.View.Subviews
- Terminal.View.SuperView
- Terminal.View.ToString
- Terminal.View.WantMousePositionReports
- uid: Terminal.Button.#ctor(System.String)
id: '#ctor(System.String)'
parent: Terminal.Button
langs:
- csharp
name: Button(String)
nameWithType: Button.Button(String)
fullName: Button.Button(String)
type: Constructor
assemblies:
- Terminal
namespace: Terminal
summary: >-
Public constructor, creates a button based on
the given text at position 0,0
remarks: >-
The size of the button is computed based on the
text length. This button is not a default button.
syntax:
content: public Button (string s);
parameters:
- id: s
type: System.String
description: To be added.
overload: Terminal.Button.#ctor*
exceptions: []
- uid: Terminal.Button.#ctor(System.String,System.Boolean)
id: '#ctor(System.String,System.Boolean)'
parent: Terminal.Button
langs:
- csharp
name: Button(String, Boolean)
nameWithType: Button.Button(String, Boolean)
fullName: Button.Button(String, Boolean)
type: Constructor
assemblies:
- Terminal
namespace: Terminal
summary: >-
Public constructor, creates a button based on
the given text.
remarks: >-
If the value for is_default is true, a special
decoration is used, and the enter key on a
dialog would implicitly activate this button.
syntax:
content: public Button (string s, bool is_default);
parameters:
- id: s
type: System.String
description: To be added.
- id: is_default
type: System.Boolean
description: To be added.
overload: Terminal.Button.#ctor*
exceptions: []
- uid: Terminal.Button.#ctor(System.Int32,System.Int32,System.String)
id: '#ctor(System.Int32,System.Int32,System.String)'
parent: Terminal.Button
langs:
- csharp
name: Button(Int32, Int32, String)
nameWithType: Button.Button(Int32, Int32, String)
fullName: Button.Button(Int32, Int32, String)
type: Constructor
assemblies:
- Terminal
namespace: Terminal
summary: >-
Public constructor, creates a button based on
the given text at the given position.
remarks: >-
The size of the button is computed based on the
text length. This button is not a default button.
syntax:
content: public Button (int x, int y, string s);
parameters:
- id: x
type: System.Int32
description: To be added.
- id: y
type: System.Int32
description: To be added.
- id: s
type: System.String
description: To be added.
overload: Terminal.Button.#ctor*
exceptions: []
- uid: Terminal.Button.#ctor(System.Int32,System.Int32,System.String,System.Boolean)
id: '#ctor(System.Int32,System.Int32,System.String,System.Boolean)'
parent: Terminal.Button
langs:
- csharp
name: Button(Int32, Int32, String, Boolean)
nameWithType: Button.Button(Int32, Int32, String, Boolean)
fullName: Button.Button(Int32, Int32, String, Boolean)
type: Constructor
assemblies:
- Terminal
namespace: Terminal
summary: >-
Public constructor, creates a button based on
the given text at the given position.
remarks: >-
If the value for is_default is true, a special
decoration is used, and the enter key on a
dialog would implicitly activate this button.
syntax:
content: public Button (int x, int y, string s, bool is_default);
parameters:
- id: x
type: System.Int32
description: To be added.
- id: y
type: System.Int32
description: To be added.
- id: s
type: System.String
description: To be added.
- id: is_default
type: System.Boolean
description: To be added.
overload: Terminal.Button.#ctor*
exceptions: []
- uid: Terminal.Button.Clicked
id: Clicked
parent: Terminal.Button
langs:
- csharp
name: Clicked
nameWithType: Button.Clicked
fullName: Button.Clicked
type: Field
assemblies:
- Terminal
namespace: Terminal
summary: Clicked event, raised when the button is clicked.
remarks: >-
Client code can hook up to this event, it is
raised when the button is activated either with
the mouse or the keyboard.
syntax:
content: public Action Clicked;
return:
type: System.Action
description: To be added.
exceptions: []
- uid: Terminal.Button.IsDefault
id: IsDefault
parent: Terminal.Button
langs:
- csharp
name: IsDefault
nameWithType: Button.IsDefault
fullName: Button.IsDefault
type: Property
assemblies:
- Terminal
namespace: Terminal
summary: Gets or sets a value indicating whether this is the default action to activate on return on a dialog.
syntax:
content: public bool IsDefault { get; set; }
return:
type: System.Boolean
description: true
if is default; otherwise, false
.
overload: Terminal.Button.IsDefault*
exceptions: []
- uid: Terminal.Button.MouseEvent(Terminal.MouseEvent)
id: MouseEvent(Terminal.MouseEvent)
parent: Terminal.Button
langs:
- csharp
name: MouseEvent(MouseEvent)
nameWithType: Button.MouseEvent(MouseEvent)
fullName: Button.MouseEvent(MouseEvent)
type: Method
assemblies:
- Terminal
namespace: Terminal
syntax:
content: public override bool MouseEvent (Terminal.MouseEvent me);
parameters:
- id: me
type: Terminal.MouseEvent
description: To be added.
return:
type: System.Boolean
description: To be added.
overload: Terminal.Button.MouseEvent*
exceptions: []
- uid: Terminal.Button.PositionCursor
id: PositionCursor
parent: Terminal.Button
langs:
- csharp
name: PositionCursor()
nameWithType: Button.PositionCursor()
fullName: Button.PositionCursor()
type: Method
assemblies:
- Terminal
namespace: Terminal
syntax:
content: public override void PositionCursor ();
parameters: []
overload: Terminal.Button.PositionCursor*
exceptions: []
- uid: Terminal.Button.ProcessColdKey(Terminal.KeyEvent)
id: ProcessColdKey(Terminal.KeyEvent)
parent: Terminal.Button
langs:
- csharp
name: ProcessColdKey(KeyEvent)
nameWithType: Button.ProcessColdKey(KeyEvent)
fullName: Button.ProcessColdKey(KeyEvent)
type: Method
assemblies:
- Terminal
namespace: Terminal
syntax:
content: public override bool ProcessColdKey (Terminal.KeyEvent kb);
parameters:
- id: kb
type: Terminal.KeyEvent
description: To be added.
return:
type: System.Boolean
description: To be added.
overload: Terminal.Button.ProcessColdKey*
exceptions: []
- uid: Terminal.Button.ProcessHotKey(Terminal.KeyEvent)
id: ProcessHotKey(Terminal.KeyEvent)
parent: Terminal.Button
langs:
- csharp
name: ProcessHotKey(KeyEvent)
nameWithType: Button.ProcessHotKey(KeyEvent)
fullName: Button.ProcessHotKey(KeyEvent)
type: Method
assemblies:
- Terminal
namespace: Terminal
syntax:
content: public override bool ProcessHotKey (Terminal.KeyEvent kb);
parameters:
- id: kb
type: Terminal.KeyEvent
description: To be added.
return:
type: System.Boolean
description: To be added.
overload: Terminal.Button.ProcessHotKey*
exceptions: []
- uid: Terminal.Button.ProcessKey(Terminal.KeyEvent)
id: ProcessKey(Terminal.KeyEvent)
parent: Terminal.Button
langs:
- csharp
name: ProcessKey(KeyEvent)
nameWithType: Button.ProcessKey(KeyEvent)
fullName: Button.ProcessKey(KeyEvent)
type: Method
assemblies:
- Terminal
namespace: Terminal
syntax:
content: public override bool ProcessKey (Terminal.KeyEvent kb);
parameters:
- id: kb
type: Terminal.KeyEvent
description: To be added.
return:
type: System.Boolean
description: To be added.
overload: Terminal.Button.ProcessKey*
exceptions: []
- uid: Terminal.Button.Redraw(Terminal.Rect)
id: Redraw(Terminal.Rect)
parent: Terminal.Button
langs:
- csharp
name: Redraw(Rect)
nameWithType: Button.Redraw(Rect)
fullName: Button.Redraw(Rect)
type: Method
assemblies:
- Terminal
namespace: Terminal
syntax:
content: public override void Redraw (Terminal.Rect region);
parameters:
- id: region
type: Terminal.Rect
description: To be added.
overload: Terminal.Button.Redraw*
exceptions: []
- uid: Terminal.Button.Text
id: Text
parent: Terminal.Button
langs:
- csharp
name: Text
nameWithType: Button.Text
fullName: Button.Text
type: Property
assemblies:
- Terminal
namespace: Terminal
summary: The text displayed by this widget.
syntax:
content: public string Text { get; set; }
return:
type: System.String
description: To be added.
overload: Terminal.Button.Text*
exceptions: []
references:
- uid: Terminal.View
parent: Terminal
isExternal: false
name: View
nameWithType: View
fullName: Terminal.View
- uid: Terminal.Button.#ctor(System.String)
parent: Terminal.Button
isExternal: false
name: Button(String)
nameWithType: Button.Button(String)
fullName: Button.Button(String)
- uid: System.String
parent: System
isExternal: true
name: String
nameWithType: String
fullName: System.String
- uid: Terminal.Button.#ctor(System.String,System.Boolean)
parent: Terminal.Button
isExternal: false
name: Button(String, Boolean)
nameWithType: Button.Button(String, Boolean)
fullName: Button.Button(String, Boolean)
- uid: System.Boolean
parent: System
isExternal: true
name: Boolean
nameWithType: Boolean
fullName: System.Boolean
- uid: Terminal.Button.#ctor(System.Int32,System.Int32,System.String)
parent: Terminal.Button
isExternal: false
name: Button(Int32, Int32, String)
nameWithType: Button.Button(Int32, Int32, String)
fullName: Button.Button(Int32, Int32, String)
- uid: System.Int32
parent: System
isExternal: true
name: Int32
nameWithType: Int32
fullName: System.Int32
- uid: Terminal.Button.#ctor(System.Int32,System.Int32,System.String,System.Boolean)
parent: Terminal.Button
isExternal: false
name: Button(Int32, Int32, String, Boolean)
nameWithType: Button.Button(Int32, Int32, String, Boolean)
fullName: Button.Button(Int32, Int32, String, Boolean)
- uid: Terminal.Button.Clicked
parent: Terminal.Button
isExternal: false
name: Clicked
nameWithType: Button.Clicked
fullName: Button.Clicked
- uid: System.Action
parent: System
isExternal: true
name: Action
nameWithType: Action
fullName: System.Action
- uid: Terminal.Button.IsDefault
parent: Terminal.Button
isExternal: false
name: IsDefault
nameWithType: Button.IsDefault
fullName: Button.IsDefault
- uid: Terminal.Button.MouseEvent(Terminal.MouseEvent)
parent: Terminal.Button
isExternal: false
name: MouseEvent(MouseEvent)
nameWithType: Button.MouseEvent(MouseEvent)
fullName: Button.MouseEvent(MouseEvent)
- uid: Terminal.MouseEvent
parent: Terminal
isExternal: false
name: MouseEvent
nameWithType: MouseEvent
fullName: Terminal.MouseEvent
- uid: Terminal.Button.PositionCursor
parent: Terminal.Button
isExternal: false
name: PositionCursor()
nameWithType: Button.PositionCursor()
fullName: Button.PositionCursor()
- uid: Terminal.Button.ProcessColdKey(Terminal.KeyEvent)
parent: Terminal.Button
isExternal: false
name: ProcessColdKey(KeyEvent)
nameWithType: Button.ProcessColdKey(KeyEvent)
fullName: Button.ProcessColdKey(KeyEvent)
- uid: Terminal.KeyEvent
parent: Terminal
isExternal: false
name: KeyEvent
nameWithType: KeyEvent
fullName: Terminal.KeyEvent
- uid: Terminal.Button.ProcessHotKey(Terminal.KeyEvent)
parent: Terminal.Button
isExternal: false
name: ProcessHotKey(KeyEvent)
nameWithType: Button.ProcessHotKey(KeyEvent)
fullName: Button.ProcessHotKey(KeyEvent)
- uid: Terminal.Button.ProcessKey(Terminal.KeyEvent)
parent: Terminal.Button
isExternal: false
name: ProcessKey(KeyEvent)
nameWithType: Button.ProcessKey(KeyEvent)
fullName: Button.ProcessKey(KeyEvent)
- uid: Terminal.Button.Redraw(Terminal.Rect)
parent: Terminal.Button
isExternal: false
name: Redraw(Rect)
nameWithType: Button.Redraw(Rect)
fullName: Button.Redraw(Rect)
- uid: Terminal.Rect
parent: Terminal
isExternal: false
name: Rect
nameWithType: Rect
fullName: Terminal.Rect
- uid: Terminal.Button.Text
parent: Terminal.Button
isExternal: false
name: Text
nameWithType: Button.Text
fullName: Button.Text
- uid: Terminal.Button.#ctor*
parent: Terminal.Button
isExternal: false
name: Button
nameWithType: Button.Button
fullName: Button.Button
- uid: Terminal.Button.IsDefault*
parent: Terminal.Button
isExternal: false
name: IsDefault
nameWithType: Button.IsDefault
fullName: Button.IsDefault
- uid: Terminal.Button.MouseEvent*
parent: Terminal.Button
isExternal: false
name: MouseEvent
nameWithType: Button.MouseEvent
fullName: Button.MouseEvent
- uid: Terminal.Button.PositionCursor*
parent: Terminal.Button
isExternal: false
name: PositionCursor
nameWithType: Button.PositionCursor
fullName: Button.PositionCursor
- uid: Terminal.Button.ProcessColdKey*
parent: Terminal.Button
isExternal: false
name: ProcessColdKey
nameWithType: Button.ProcessColdKey
fullName: Button.ProcessColdKey
- uid: Terminal.Button.ProcessHotKey*
parent: Terminal.Button
isExternal: false
name: ProcessHotKey
nameWithType: Button.ProcessHotKey
fullName: Button.ProcessHotKey
- uid: Terminal.Button.ProcessKey*
parent: Terminal.Button
isExternal: false
name: ProcessKey
nameWithType: Button.ProcessKey
fullName: Button.ProcessKey
- uid: Terminal.Button.Redraw*
parent: Terminal.Button
isExternal: false
name: Redraw
nameWithType: Button.Redraw
fullName: Button.Redraw
- uid: Terminal.Button.Text*
parent: Terminal.Button
isExternal: false
name: Text
nameWithType: Button.Text
fullName: Button.Text
- uid: Terminal.Responder.CanFocus
parent: Terminal.Responder
isExternal: false
name: CanFocus
nameWithType: Responder.CanFocus
fullName: Responder.CanFocus
- uid: Terminal.View.HasFocus
parent: Terminal.View
isExternal: false
name: HasFocus
nameWithType: View.HasFocus
fullName: View.HasFocus
- uid: Terminal.View.Add(Terminal.View)
parent: Terminal.View
isExternal: false
name: Add(View)
nameWithType: View.Add(View)
fullName: View.Add(View)
- uid: Terminal.View.Add(Terminal.View[])
parent: Terminal.View
isExternal: false
name: Add(View[])
nameWithType: View.Add(View[])
fullName: View.Add(View[])
- uid: Terminal.View.AddCh(System.Int32,System.Int32,System.Int32)
parent: Terminal.View
isExternal: false
name: AddCh(Int32, Int32, Int32)
nameWithType: View.AddCh(Int32, Int32, Int32)
fullName: View.AddCh(Int32, Int32, Int32)
- uid: Terminal.View.Bounds
parent: Terminal.View
isExternal: false
name: Bounds
nameWithType: View.Bounds
fullName: View.Bounds
- uid: Terminal.View.ChildNeedsDisplay
parent: Terminal.View
isExternal: false
name: ChildNeedsDisplay()
nameWithType: View.ChildNeedsDisplay()
fullName: View.ChildNeedsDisplay()
- uid: Terminal.View.Clear
parent: Terminal.View
isExternal: false
name: Clear()
nameWithType: View.Clear()
fullName: View.Clear()
- uid: Terminal.View.ClearNeedsDisplay
parent: Terminal.View
isExternal: false
name: ClearNeedsDisplay()
nameWithType: View.ClearNeedsDisplay()
fullName: View.ClearNeedsDisplay()
- uid: Terminal.View.ColorScheme
parent: Terminal.View
isExternal: false
name: ColorScheme
nameWithType: View.ColorScheme
fullName: View.ColorScheme
- uid: Terminal.View.DrawFrame(Terminal.Rect,System.Boolean)
parent: Terminal.View
isExternal: false
name: DrawFrame(Rect, Boolean)
nameWithType: View.DrawFrame(Rect, Boolean)
fullName: View.DrawFrame(Rect, Boolean)
- uid: Terminal.View.DrawHotString(System.String,System.Boolean,Terminal.ColorScheme)
parent: Terminal.View
isExternal: false
name: DrawHotString(String, Boolean, ColorScheme)
nameWithType: View.DrawHotString(String, Boolean, ColorScheme)
fullName: View.DrawHotString(String, Boolean, ColorScheme)
- uid: Terminal.View.DrawHotString(System.String,Terminal.Attribute,Terminal.Attribute)
parent: Terminal.View
isExternal: false
name: DrawHotString(String, Attribute, Attribute)
nameWithType: View.DrawHotString(String, Attribute, Attribute)
fullName: View.DrawHotString(String, Attribute, Attribute)
- uid: Terminal.View.Driver
parent: Terminal.View
isExternal: false
name: Driver
nameWithType: View.Driver
fullName: View.Driver
- uid: Terminal.View.EnsureFocus
parent: Terminal.View
isExternal: false
name: EnsureFocus()
nameWithType: View.EnsureFocus()
fullName: View.EnsureFocus()
- uid: Terminal.View.Focused
parent: Terminal.View
isExternal: false
name: Focused
nameWithType: View.Focused
fullName: View.Focused
- uid: Terminal.View.FocusFirst
parent: Terminal.View
isExternal: false
name: FocusFirst()
nameWithType: View.FocusFirst()
fullName: View.FocusFirst()
- uid: Terminal.View.FocusLast
parent: Terminal.View
isExternal: false
name: FocusLast()
nameWithType: View.FocusLast()
fullName: View.FocusLast()
- uid: Terminal.View.FocusNext
parent: Terminal.View
isExternal: false
name: FocusNext()
nameWithType: View.FocusNext()
fullName: View.FocusNext()
- uid: Terminal.View.FocusPrev
parent: Terminal.View
isExternal: false
name: FocusPrev()
nameWithType: View.FocusPrev()
fullName: View.FocusPrev()
- uid: Terminal.View.Frame
parent: Terminal.View
isExternal: false
name: Frame
nameWithType: View.Frame
fullName: View.Frame
- uid: Terminal.View.GetEnumerator
parent: Terminal.View
isExternal: false
name: GetEnumerator()
nameWithType: View.GetEnumerator()
fullName: View.GetEnumerator()
- uid: Terminal.View.Id
parent: Terminal.View
isExternal: false
name: Id
nameWithType: View.Id
fullName: View.Id
- uid: Terminal.View.LayoutSubviews
parent: Terminal.View
isExternal: false
name: LayoutSubviews()
nameWithType: View.LayoutSubviews()
fullName: View.LayoutSubviews()
- uid: Terminal.View.MostFocused
parent: Terminal.View
isExternal: false
name: MostFocused
nameWithType: View.MostFocused
fullName: View.MostFocused
- uid: Terminal.View.Move(System.Int32,System.Int32)
parent: Terminal.View
isExternal: false
name: Move(Int32, Int32)
nameWithType: View.Move(Int32, Int32)
fullName: View.Move(Int32, Int32)
- uid: Terminal.View.Remove(Terminal.View)
parent: Terminal.View
isExternal: false
name: Remove(View)
nameWithType: View.Remove(View)
fullName: View.Remove(View)
- uid: Terminal.View.RemoveAll
parent: Terminal.View
isExternal: false
name: RemoveAll()
nameWithType: View.RemoveAll()
fullName: View.RemoveAll()
- uid: Terminal.View.ScreenToView(System.Int32,System.Int32)
parent: Terminal.View
isExternal: false
name: ScreenToView(Int32, Int32)
nameWithType: View.ScreenToView(Int32, Int32)
fullName: View.ScreenToView(Int32, Int32)
- uid: Terminal.View.SetFocus(Terminal.View)
parent: Terminal.View
isExternal: false
name: SetFocus(View)
nameWithType: View.SetFocus(View)
fullName: View.SetFocus(View)
- uid: Terminal.View.SetNeedsDisplay
parent: Terminal.View
isExternal: false
name: SetNeedsDisplay()
nameWithType: View.SetNeedsDisplay()
fullName: View.SetNeedsDisplay()
- uid: Terminal.View.SetNeedsDisplay(Terminal.Rect)
parent: Terminal.View
isExternal: false
name: SetNeedsDisplay(Rect)
nameWithType: View.SetNeedsDisplay(Rect)
fullName: View.SetNeedsDisplay(Rect)
- uid: Terminal.View.Subviews
parent: Terminal.View
isExternal: false
name: Subviews
nameWithType: View.Subviews
fullName: View.Subviews
- uid: Terminal.View.SuperView
parent: Terminal.View
isExternal: false
name: SuperView
nameWithType: View.SuperView
fullName: View.SuperView
- uid: Terminal.View.ToString
parent: Terminal.View
isExternal: false
name: ToString()
nameWithType: View.ToString()
fullName: View.ToString()
- uid: Terminal.View.WantMousePositionReports
parent: Terminal.View
isExternal: false
name: WantMousePositionReports
nameWithType: View.WantMousePositionReports
fullName: View.WantMousePositionReports