Doc update

This commit is contained in:
Miguel de Icaza
2018-01-17 14:36:44 -05:00
parent 58f99c0bd8
commit ed31521f3d
3 changed files with 13 additions and 2 deletions

View File

@@ -11,12 +11,19 @@ using System.Linq;
namespace Terminal {
/// <summary>
/// Button view
/// Button is a view that provides an item that invokes a callback when activated.
/// </summary>
/// <remarks>
/// <para>
/// 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).
/// </para>
/// <para>
/// If the button is configured as the default (IsDefault) the button
/// will respond to the return key is no other view processes it, and
/// turns this into a clicked event.
/// </para>
/// </remarks>
public class Button : View {
string text;

View File

@@ -7,6 +7,10 @@
using System;
namespace Terminal {
/// <summary>
/// The Checkbox View shows an on/off toggle that the user can set
/// </summary>
public class CheckBox : View {
string text;
int hot_pos = -1;

View File

@@ -15,7 +15,7 @@ namespace Terminal {
}
/// <summary>
/// Label widget, displays a string at a given position, can include multiple lines.
/// Label view, displays a string at a given position, can include multiple lines.
/// </summary>
public class Label : View {
List<string> lines = new List<string> ();