summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--reference/csharp/ui/src/focus_main.cs3
-rw-r--r--reference/csharp/ui/src/ui_container.cs3
-rw-r--r--reference/csharp/ui/src/ui_sizing.cs3
3 files changed, 3 insertions, 6 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) => {
diff --git a/reference/csharp/ui/src/ui_container.cs b/reference/csharp/ui/src/ui_container.cs
index 609bfb3..97c1fc7 100644
--- a/reference/csharp/ui/src/ui_container.cs
+++ b/reference/csharp/ui/src/ui_container.cs
@@ -60,8 +60,7 @@ public class Example : Efl.Csharp.Application
60 protected override void OnInitialize(Eina.Array<System.String> args) 60 protected override void OnInitialize(Eina.Array<System.String> args)
61 { 61 {
62 // Create a window and initialize it 62 // Create a window and initialize it
63 Efl.Ui.Win win = new Efl.Ui.Win(null); 63 Efl.Ui.Win win = new Efl.Ui.Win(null, winType: Efl.Ui.WinType.Basic);
64 win.SetWinType(Efl.Ui.WinType.Basic);
65 win.SetText("Container demo"); 64 win.SetText("Container demo");
66 win.SetAutohide(true); 65 win.SetAutohide(true);
67 win.VisibilityChangedEvt += (object sender, Efl.Gfx.IEntityVisibilityChangedEvt_Args e) => { 66 win.VisibilityChangedEvt += (object sender, Efl.Gfx.IEntityVisibilityChangedEvt_Args e) => {
diff --git a/reference/csharp/ui/src/ui_sizing.cs b/reference/csharp/ui/src/ui_sizing.cs
index 96a2b96..7ccfa10 100644
--- a/reference/csharp/ui/src/ui_sizing.cs
+++ b/reference/csharp/ui/src/ui_sizing.cs
@@ -13,8 +13,7 @@ public class Example : Efl.Csharp.Application
13 protected override void OnInitialize(Eina.Array<System.String> args) 13 protected override void OnInitialize(Eina.Array<System.String> args)
14 { 14 {
15 // Create a window and initialize it 15 // Create a window and initialize it
16 Efl.Ui.Win win = new Efl.Ui.Win(null); 16 Efl.Ui.Win win = new Efl.Ui.Win(null, winType: Efl.Ui.WinType.Basic);
17 win.SetWinType(Efl.Ui.WinType.Basic);
18 win.SetText("Size Control"); 17 win.SetText("Size Control");
19 win.SetAutohide(true); 18 win.SetAutohide(true);
20 win.VisibilityChangedEvt += (object sender, Efl.Gfx.IEntityVisibilityChangedEvt_Args e) => { 19 win.VisibilityChangedEvt += (object sender, Efl.Gfx.IEntityVisibilityChangedEvt_Args e) => {