mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 08:50:25 +01:00
Doc update
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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> ();
|
||||
|
||||
Reference in New Issue
Block a user