summaryrefslogtreecommitdiff
path: root/pages/develop/legacy/tutorial
diff options
context:
space:
mode:
authorVitor Sousa da Silva <vitorsousasilva@gmail.com>2018-02-02 05:40:23 -0800
committerapache <apache@e5-web1.enlightenment.org>2018-02-02 05:40:23 -0800
commit590538f92e797aa8a2d956bab9f9d9d392ece02f (patch)
tree91803a1fa7fba8bc341cfcc4dc1912ed1b2f1d49 /pages/develop/legacy/tutorial
parent0d5b73f9c70a0413425a5ec9a87ccc51159b4caa (diff)
Wiki page csharp_tutorial changed with summary [] by Vitor Sousa da Silva
Diffstat (limited to 'pages/develop/legacy/tutorial')
-rw-r--r--pages/develop/legacy/tutorial/csharp_tutorial.txt15
1 files changed, 11 insertions, 4 deletions
diff --git a/pages/develop/legacy/tutorial/csharp_tutorial.txt b/pages/develop/legacy/tutorial/csharp_tutorial.txt
index 66a5341e5..1738692cf 100644
--- a/pages/develop/legacy/tutorial/csharp_tutorial.txt
+++ b/pages/develop/legacy/tutorial/csharp_tutorial.txt
@@ -1,5 +1,8 @@
1---
1~~Title: C# Tutorial~~ 2~~Title: C# Tutorial~~
2===== C# Tutorial ===== 3---
4
5# C# Tutorial #
3 6
4<note important> 7<note important>
5The C# bindings are currently in BETA state. 8The C# bindings are currently in BETA state.
@@ -35,6 +38,11 @@ export PATH="$PATH:/c/Program Files/Mono/bin"
35</code> 38</code>
36If you used another installation path to Mono just adjust the paths used. 39If you used another installation path to Mono just adjust the paths used.
37 40
41<note warning>
42It is advisable to add the Mono path at the *end* of the ''PATH'' environment variable, like in the example above.
43Mono has its own version of some applications (like ''pkg-config'') which can take priority over the ones from MSYS2 and cause things to fail.
44</note>
45
38Now you can use the MSYS2 console to compile, install and run EFL and your applications. 46Now you can use the MSYS2 console to compile, install and run EFL and your applications.
39Once all conditions are met proceed to [[#Compilation]]. 47Once all conditions are met proceed to [[#Compilation]].
40 48
@@ -136,7 +144,7 @@ export LD_LIBRARY_PATH=/opt/my_install_prefix/lib
136 144
137== Explaining the code == 145== Explaining the code ==
138 146
139First we start with s basic class structure to define our ''Main'' entry point: 147First we start with a basic class structure to define our ''Main'' entry point:
140<code csharp> 148<code csharp>
141using System; 149using System;
142 150
@@ -199,5 +207,4 @@ It will start the event loop and display the application main window.
199After the event loop is finished (when closing the last window or by calling ''efl.ui.Config.Exit()'') we shutdown the EFL components and let the application end: 207After the event loop is finished (when closing the last window or by calling ''efl.ui.Config.Exit()'') we shutdown the EFL components and let the application end:
200<code csharp> 208<code csharp>
201 efl.All.Shutdown(); 209 efl.All.Shutdown();
202</code> 210</code> \ No newline at end of file
203