summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--reference/csharp/eina/src/eina_array.cs2
-rw-r--r--reference/csharp/eina/src/eina_hash.cs2
-rw-r--r--reference/csharp/eina/src/eina_iterator.cs2
-rw-r--r--reference/csharp/eina/src/eina_list.cs2
-rw-r--r--reference/csharp/eina/src/eina_log.cs2
-rw-r--r--reference/csharp/eina/src/eina_value.cs2
-rw-r--r--tutorial/csharp/eo-intro/src/eo_intro_main.cs2
-rw-r--r--tutorial/csharp/hello-world/src/hello-world.cs9
8 files changed, 16 insertions, 7 deletions
diff --git a/reference/csharp/eina/src/eina_array.cs b/reference/csharp/eina/src/eina_array.cs
index dffb394..3864bde 100644
--- a/reference/csharp/eina/src/eina_array.cs
+++ b/reference/csharp/eina/src/eina_array.cs
@@ -76,7 +76,7 @@ public class Example : Efl.Csharp.Application
76 public static void Main() 76 public static void Main()
77 { 77 {
78 var example = new Example(); 78 var example = new Example();
79 example.Launch(); 79 example.Launch(Efl.Csharp.Components.Basic);
80 } 80 }
81} 81}
82 82
diff --git a/reference/csharp/eina/src/eina_hash.cs b/reference/csharp/eina/src/eina_hash.cs
index 07b2319..ee8e601 100644
--- a/reference/csharp/eina/src/eina_hash.cs
+++ b/reference/csharp/eina/src/eina_hash.cs
@@ -131,6 +131,6 @@ public class Example : Efl.Csharp.Application
131 public static void Main() 131 public static void Main()
132 { 132 {
133 var example = new Example(); 133 var example = new Example();
134 example.Launch(); 134 example.Launch(Efl.Csharp.Components.Basic);
135 } 135 }
136} 136}
diff --git a/reference/csharp/eina/src/eina_iterator.cs b/reference/csharp/eina/src/eina_iterator.cs
index 498c3e5..c8d29f8 100644
--- a/reference/csharp/eina/src/eina_iterator.cs
+++ b/reference/csharp/eina/src/eina_iterator.cs
@@ -80,6 +80,6 @@ public class Example : Efl.Csharp.Application
80 public static void Main() 80 public static void Main()
81 { 81 {
82 var example = new Example(); 82 var example = new Example();
83 example.Launch(); 83 example.Launch(Efl.Csharp.Components.Basic);
84 } 84 }
85} 85}
diff --git a/reference/csharp/eina/src/eina_list.cs b/reference/csharp/eina/src/eina_list.cs
index 059f4d7..8f2956b 100644
--- a/reference/csharp/eina/src/eina_list.cs
+++ b/reference/csharp/eina/src/eina_list.cs
@@ -70,6 +70,6 @@ public class Example : Efl.Csharp.Application
70 public static void Main() 70 public static void Main()
71 { 71 {
72 var example = new Example(); 72 var example = new Example();
73 example.Launch(); 73 example.Launch(Efl.Csharp.Components.Basic);
74 } 74 }
75} 75}
diff --git a/reference/csharp/eina/src/eina_log.cs b/reference/csharp/eina/src/eina_log.cs
index f671c9a..159853d 100644
--- a/reference/csharp/eina/src/eina_log.cs
+++ b/reference/csharp/eina/src/eina_log.cs
@@ -64,6 +64,6 @@ public class Example : Efl.Csharp.Application
64 public static void Main() 64 public static void Main()
65 { 65 {
66 var example = new Example(); 66 var example = new Example();
67 example.Launch(); 67 example.Launch(Efl.Csharp.Components.Basic);
68 } 68 }
69} 69}
diff --git a/reference/csharp/eina/src/eina_value.cs b/reference/csharp/eina/src/eina_value.cs
index 328a9da..3e82e2c 100644
--- a/reference/csharp/eina/src/eina_value.cs
+++ b/reference/csharp/eina/src/eina_value.cs
@@ -67,6 +67,6 @@ public class Example : Efl.Csharp.Application
67 public static void Main() 67 public static void Main()
68 { 68 {
69 var example = new Example(); 69 var example = new Example();
70 example.Launch(); 70 example.Launch(Efl.Csharp.Components.Basic);
71 } 71 }
72} 72}
diff --git a/tutorial/csharp/eo-intro/src/eo_intro_main.cs b/tutorial/csharp/eo-intro/src/eo_intro_main.cs
index a928b91..b5ee773 100644
--- a/tutorial/csharp/eo-intro/src/eo_intro_main.cs
+++ b/tutorial/csharp/eo-intro/src/eo_intro_main.cs
@@ -49,6 +49,6 @@ public class Example : Efl.Csharp.Application
49 public static void Main() 49 public static void Main()
50 { 50 {
51 var example = new Example(); 51 var example = new Example();
52 example.Launch(); 52 example.Launch(Efl.Csharp.Components.Basic);
53 } 53 }
54} 54}
diff --git a/tutorial/csharp/hello-world/src/hello-world.cs b/tutorial/csharp/hello-world/src/hello-world.cs
index a7b0457..2eac0bf 100644
--- a/tutorial/csharp/hello-world/src/hello-world.cs
+++ b/tutorial/csharp/hello-world/src/hello-world.cs
@@ -2,6 +2,14 @@ using System;
2 2
3public class Example : Efl.Csharp.Application 3public class Example : Efl.Csharp.Application
4{ 4{
5 // Callback to quit the application
6 public static void QuitCb(object sender, Efl.Gfx.EntityVisibilityChangedEventArgs e)
7 {
8 // Exit the EFL main loop
9 if (e.arg == false)
10 Efl.App.AppMain.Quit(0);
11 }
12
5 protected override void OnInitialize(string[] args) 13 protected override void OnInitialize(string[] args)
6 { 14 {
7 // Create a window and initialize it 15 // Create a window and initialize it
@@ -14,6 +22,7 @@ public class Example : Efl.Csharp.Application
14 // Window size must be explicitly set, otherwise it will be invisible 22 // Window size must be explicitly set, otherwise it will be invisible
15 // due to its lack of content. 23 // due to its lack of content.
16 win.SetSize(new Eina.Size2D(360, 240)); 24 win.SetSize(new Eina.Size2D(360, 240));
25 win.VisibilityChangedEvent += QuitCb;
17 } 26 }
18 27
19#if WIN32 28#if WIN32