diff options
author | Xavi Artigas <xavierartigas@yahoo.es> | 2019-04-11 16:21:09 +0200 |
---|---|---|
committer | Xavi Artigas <xavierartigas@yahoo.es> | 2019-04-11 16:21:09 +0200 |
commit | 5f436d2874843fb489d6b9403b336d9adde24912 (patch) | |
tree | 8c16cec863b3fb5fa5245b1a3b0d3a943adaaaa4 | |
parent | 169f569af655a5c7d26e04a9e605c86a1f25d2aa (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.cs | 6 |
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 00000000..59ede8bc --- /dev/null +++ b/reference/csharp/snippets/Efl.Ui.Win.cs | |||
@@ -0,0 +1,6 @@ | |||
1 | var win = new Efl.Ui.Win(Efl.App.AppMain); | ||
2 | win.SetText("Hello World"); | ||
3 | win.SetAutohide(true); | ||
4 | win.VisibilityChangedEvt += | ||
5 | (object sender, Efl.Gfx.IEntityVisibilityChangedEvt_Args e) => {}; | ||
6 | |||