summaryrefslogtreecommitdiff
path: root/reference/csharp/snippets/Efl.Ui.Box.cs
diff options
context:
space:
mode:
Diffstat (limited to 'reference/csharp/snippets/Efl.Ui.Box.cs')
-rw-r--r--reference/csharp/snippets/Efl.Ui.Box.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/reference/csharp/snippets/Efl.Ui.Box.cs b/reference/csharp/snippets/Efl.Ui.Box.cs
new file mode 100644
index 0000000..48c1488
--- /dev/null
+++ b/reference/csharp/snippets/Efl.Ui.Box.cs
@@ -0,0 +1,9 @@
1Efl.Ui.Box box = new Efl.Ui.Box(parent);
2
3//Creating content which we will pack into the box - it can be any widgets, for example buttons.
4Efl.Ui.Button button1 = new Efl.Ui.Button(box);
5Efl.Ui.Button button2 = new Efl.Ui.Button(box);
6
7//Packing the content to the box, one after another
8box.Pack(button1);
9box.Pack(button2);