diff options
Diffstat (limited to 'reference/csharp/snippets/Efl.Ui.Win.cs')
-rw-r--r-- | reference/csharp/snippets/Efl.Ui.Win.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/reference/csharp/snippets/Efl.Ui.Win.cs b/reference/csharp/snippets/Efl.Ui.Win.cs index 243008a..721f0de 100644 --- a/reference/csharp/snippets/Efl.Ui.Win.cs +++ b/reference/csharp/snippets/Efl.Ui.Win.cs | |||
@@ -1,6 +1,8 @@ | |||
1 | var win = new Efl.Ui.Win(Efl.App.AppMain); | 1 | var win = new Efl.Ui.Win(Efl.App.AppMain); |
2 | |||
3 | win.SetWinType(Efl.Ui.WinType.Basic); | ||
2 | win.SetText("Hello World"); | 4 | win.SetText("Hello World"); |
3 | win.SetAutohide(true); | 5 | win.SetAutohide(true); |
4 | win.VisibilityChangedEvent += | ||
5 | (object sender, Efl.Gfx.EntityVisibilityChangedEventArgs e) => {}; | ||
6 | 6 | ||
7 | win.VisibilityChangedEvent += | ||
8 | (sender, args) => { }; | ||