mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
Code cleanup. Docs
This commit is contained in:
@@ -106,7 +106,7 @@ public class Navigation : Scenario
|
||||
statusBar.Add (
|
||||
new Shortcut
|
||||
{
|
||||
Title = "Close",
|
||||
Title = "Hide",
|
||||
Text = "Hotkey",
|
||||
Key = Key.F4,
|
||||
Action = () =>
|
||||
@@ -119,7 +119,7 @@ public class Navigation : Scenario
|
||||
statusBar.Add (
|
||||
new Shortcut
|
||||
{
|
||||
Title = "Close",
|
||||
Title = "Toggle Hide",
|
||||
Text = "App",
|
||||
KeyBindingScope = KeyBindingScope.Application,
|
||||
Key = Key.F4.WithCtrl,
|
||||
|
||||
@@ -255,7 +255,7 @@ See also [Keyboard](keyboard.md) where HotKey is covered more deeply...
|
||||
### How to Fix (Focus API)
|
||||
|
||||
* Use [Application.Navigation.GetFocused()](~/api/Terminal.Gui.Application.Navigation.GetFocused.yml) to get the most focused view in the application.
|
||||
* ..
|
||||
* Use [Application.Navigation.AdvanceFocus()](~/api/Terminal.Gui.Application.Navigation.AdvanceFocus.yml) to cause focus to change.
|
||||
|
||||
### Keyboard Navigation
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ The entire library has been reviewed and simplified. As a result, the API is mor
|
||||
* New! *`Dim.Auto`* - Automatically sizes the view to fitthe view's Text, SubViews, or ContentArea.
|
||||
* Improved! *`Pos.AnchorEnd ()`* - New to v2 is `Pos.AnchorEnd ()` (with no parameters) which allows a view to be anchored to the right or bottom of the Superview.
|
||||
* New! *`Pos.Align ()`* - Aligns a set of views horizontally or vertically (left, rigth, center, etc...).
|
||||
* ...
|
||||
* Keyboard [Navigation](navigation.md) has been revamped to be more reliability and ensure TUI apps built with Terminal.Gui are accessible.
|
||||
|
||||
## New and Improved Built-in Views
|
||||
|
||||
@@ -44,6 +44,7 @@ The entire library has been reviewed and simplified. As a result, the API is mor
|
||||
* *[MenuBar](~/api/Terminal.Gui.MenuBar.yml)* - COMING SOON! New implementation based on `Bar`
|
||||
* *[ContextMenu](~/api/Terminal.Gui.ContextMenu.yml)* - COMING SOON! New implementation based on `Bar`
|
||||
* *[FileDialog](~/api/Terminal.Gui.FileDialog.yml)* - The new, modern file dialog includes icons (in TUI!) for files/folders, search, and a `TreeView`.
|
||||
* [ColorPicker](~/api/Terminal.Gui/ColorPicker.yml)* - Fully supports TrueColor with the ability to choose a color using HSV, RGB, or HSL as well as W3C standard color names.
|
||||
|
||||
## Configuration Manager
|
||||
|
||||
|
||||
Reference in New Issue
Block a user