summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukasz Oleksak <l.oleksak@samsung.com>2019-09-23 13:10:05 +0200
committerXavi Artigas <xavierartigas@yahoo.es>2019-09-23 13:12:12 +0200
commit670a6bc9022e6764c7c56b0f8eba3512aac84e89 (patch)
treebd193cf6783b5cb6bf166583f57c7766855edad8
parentfea913d1e1bc3fe5d8943b2d0a835d35d58f9ba9 (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.cs6
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 @@
1var win = new Efl.Ui.Win(Efl.App.AppMain); 1var win = new Efl.Ui.Win(Efl.App.AppMain);
2
3win.SetWinType(Efl.Ui.WinType.Basic);
2win.SetText("Hello World"); 4win.SetText("Hello World");
3win.SetAutohide(true); 5win.SetAutohide(true);
4win.VisibilityChangedEvent +=
5 (object sender, Efl.Gfx.EntityVisibilityChangedEventArgs e) => {};
6 6
7win.VisibilityChangedEvent +=
8 (sender, args) => { };