diff options
author | Lukasz Oleksak <l.oleksak@samsung.com> | 2019-09-23 13:10:05 +0200 |
---|---|---|
committer | Xavi Artigas <xavierartigas@yahoo.es> | 2019-09-23 13:12:12 +0200 |
commit | 670a6bc9022e6764c7c56b0f8eba3512aac84e89 (patch) | |
tree | bd193cf6783b5cb6bf166583f57c7766855edad8 | |
parent | fea913d1e1bc3fe5d8943b2d0a835d35d58f9ba9 (diff) |
Example code for Efl.Ui.Win
Reviewers: segfaultxavi, woohyun
Reviewed By: segfaultxavi
Tags: #efl, #examples
Differential Revision: https://phab.enlightenment.org/D9982
-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 243008a2..721f0de7 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) => { }; | ||