summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2019-04-11 16:21:09 +0200
committerXavi Artigas <xavierartigas@yahoo.es>2019-04-11 16:21:09 +0200
commit5f436d2874843fb489d6b9403b336d9adde24912 (patch)
tree8c16cec863b3fb5fa5245b1a3b0d3a943adaaaa4
parent169f569af655a5c7d26e04a9e605c86a1f25d2aa (diff)
mono: Initial snippet example to use with DocFX
eolian_mono now allows external examples to be embedded in the cs files, which then appear in the DocFX pages. This new folder is the proposed place to put all these external examples.
-rw-r--r--reference/csharp/snippets/Efl.Ui.Win.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/reference/csharp/snippets/Efl.Ui.Win.cs b/reference/csharp/snippets/Efl.Ui.Win.cs
new file mode 100644
index 0000000..59ede8b
--- /dev/null
+++ b/reference/csharp/snippets/Efl.Ui.Win.cs
@@ -0,0 +1,6 @@
1var win = new Efl.Ui.Win(Efl.App.AppMain);
2win.SetText("Hello World");
3win.SetAutohide(true);
4win.VisibilityChangedEvt +=
5 (object sender, Efl.Gfx.IEntityVisibilityChangedEvt_Args e) => {};
6