xartigas pushed a commit to branch master.

http://git.enlightenment.org/tools/examples.git/commit/?id=670a6bc9022e6764c7c56b0f8eba3512aac84e89

commit 670a6bc9022e6764c7c56b0f8eba3512aac84e89
Author: Lukasz Oleksak <l.olek...@samsung.com>
Date:   Mon Sep 23 13:10:05 2019 +0200

    Example code for Efl.Ui.Win
    
    Reviewers: segfaultxavi, woohyun
    
    Reviewed By: segfaultxavi
    
    Tags: #efl, #examples
    
    Differential Revision: https://phab.enlightenment.org/D9982
---
 reference/csharp/snippets/Efl.Ui.Win.cs | 6 ++++--
 1 file 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 @@
 var win = new Efl.Ui.Win(Efl.App.AppMain);
+
+win.SetWinType(Efl.Ui.WinType.Basic);
 win.SetText("Hello World");
 win.SetAutohide(true);
-win.VisibilityChangedEvent +=
-  (object sender, Efl.Gfx.EntityVisibilityChangedEventArgs e) => {};
 
+win.VisibilityChangedEvent +=
+  (sender, args) => { };

-- 


Reply via email to