mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-02 01:03:29 +01:00
Add ColorPicker Control. (#1668)
* Add ColorPicker Control. * Add default colors. * Author name comment removed. * Scenario renamed. * Format source code. * Add commands and KeyBindings. * ColorPicker comments updated. * Doc updated. * Fix relative Layout. * Add new constructor, with title only. * Delete one inused line. * Scenario renammed. * Doc updated.
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
<title>Terminal.Gui API Overview </title>
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<meta name="title" content="Terminal.Gui API Overview ">
|
||||
<meta name="generator" content="docfx 2.59.0.0">
|
||||
<meta name="generator" content="docfx 2.59.2.0">
|
||||
|
||||
<link rel="shortcut icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../styles/docfx.vendor.css">
|
||||
@@ -94,6 +94,7 @@ class Demo {
|
||||
var n = MessageBox.Query (50, 7,
|
||||
"Question", "Do you like console apps?", "Yes", "No");
|
||||
|
||||
Application.Shutdown ();
|
||||
return n;
|
||||
}
|
||||
}
|
||||
@@ -122,6 +123,7 @@ class Demo {
|
||||
};
|
||||
Application.Top.Add (label);
|
||||
Application.Run ();
|
||||
Application.Shutdown ();
|
||||
}
|
||||
}
|
||||
</code></pre><p>Typically, you will want your application to have more than a label, you might
|
||||
@@ -151,6 +153,7 @@ class Demo {
|
||||
// Add both menu and win in a single call
|
||||
Application.Top.Add (menu, win);
|
||||
Application.Run ();
|
||||
Application.Shutdown ();
|
||||
}
|
||||
}
|
||||
</code></pre><h1 id="views">Views</h1>
|
||||
@@ -294,6 +297,7 @@ class Demo {
|
||||
// Add both menu and win in a single call
|
||||
top.Add (win, menu);
|
||||
Application.Run (top);
|
||||
Application.Shutdown ();
|
||||
}
|
||||
}
|
||||
</code></pre><h2 id="window-views">Window Views</h2>
|
||||
|
||||
Reference in New Issue
Block a user