summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 00000000..59ede8bc
--- /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