summaryrefslogtreecommitdiff
path: root/reference/csharp/ui/src/focus_main.cs
diff options
context:
space:
mode:
Diffstat (limited to 'reference/csharp/ui/src/focus_main.cs')
-rw-r--r--reference/csharp/ui/src/focus_main.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/reference/csharp/ui/src/focus_main.cs b/reference/csharp/ui/src/focus_main.cs
index bd0e210..494c86a 100644
--- a/reference/csharp/ui/src/focus_main.cs
+++ b/reference/csharp/ui/src/focus_main.cs
@@ -10,8 +10,7 @@ public class Example : Efl.Csharp.Application
10 protected override void OnInitialize(Eina.Array<System.String> args) 10 protected override void OnInitialize(Eina.Array<System.String> args)
11 { 11 {
12 // Create a window and initialize it 12 // Create a window and initialize it
13 var win = new Efl.Ui.Win(null); 13 var win = new Efl.Ui.Win(null, winType: Efl.Ui.WinType.Basic);
14 win.SetWinType(Efl.Ui.WinType.Basic);
15 win.SetText("Focus example"); 14 win.SetText("Focus example");
16 win.SetAutohide(true); 15 win.SetAutohide(true);
17 win.VisibilityChangedEvt += (object sender, Efl.Gfx.IEntityVisibilityChangedEvt_Args e) => { 16 win.VisibilityChangedEvt += (object sender, Efl.Gfx.IEntityVisibilityChangedEvt_Args e) => {