Merge branch 'events' of https://github.com/tznind/gui.cs into events

This commit is contained in:
tznind
2023-03-15 19:35:29 +00:00
5 changed files with 243 additions and 30 deletions

View File

@@ -37,7 +37,8 @@ namespace UICatalog.Scenarios {
Y = 3,
Width = Dim.Fill (3),
Height = Dim.Fill (3),
ColorScheme = Colors.Dialog
ColorScheme = Colors.Dialog,
Id = "1"
};
var embedded2 = new Window ("2") {
@@ -45,7 +46,8 @@ namespace UICatalog.Scenarios {
Y = 3,
Width = Dim.Fill (3),
Height = Dim.Fill (3),
ColorScheme = Colors.Error
ColorScheme = Colors.Error,
Id = "2"
};
embedded1.Add (embedded2);
@@ -54,7 +56,8 @@ namespace UICatalog.Scenarios {
Y = 3,
Width = Dim.Fill (3),
Height = Dim.Fill (3),
ColorScheme = Colors.TopLevel
ColorScheme = Colors.TopLevel,
Id = "3"
};
var testButton = new Button (2, 2, "click me");