mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-02 01:03:29 +01:00
Making SetFocus (View) private.
This commit is contained in:
@@ -94,7 +94,7 @@ namespace UICatalog {
|
||||
ColorScheme = Colors.TopLevel,
|
||||
};
|
||||
_classListView.OpenSelectedItem += (a) => {
|
||||
Top.SetFocus (_settingsPane);
|
||||
_settingsPane.SetFocus ();
|
||||
};
|
||||
_classListView.SelectedItemChanged += (args) => {
|
||||
ClearClass (_curView);
|
||||
|
||||
@@ -97,7 +97,7 @@ namespace UICatalog {
|
||||
scenario.Setup ();
|
||||
scenario.Run ();
|
||||
_top.Ready += () => {
|
||||
_top.SetFocus (_rightPane);
|
||||
_rightPane.SetFocus ();
|
||||
_top.Ready = null;
|
||||
};
|
||||
|
||||
@@ -176,7 +176,7 @@ namespace UICatalog {
|
||||
CanFocus = true,
|
||||
};
|
||||
_categoryListView.OpenSelectedItem += (a) => {
|
||||
_top.SetFocus (_rightPane);
|
||||
_rightPane.SetFocus ();
|
||||
};
|
||||
_categoryListView.SelectedItemChanged += CategoryListView_SelectedChanged;
|
||||
_leftPane.Add (_categoryListView);
|
||||
|
||||
Reference in New Issue
Block a user