summaryrefslogtreecommitdiff
path: root/reference/csharp/snippets/Efl.Ui.Box.cs
blob: 09ad6d87c7feb0fba04aa8ff64d9075a54e00fa2 (plain)
1
2
3
4
5
6
7
8
9
10
Efl.Ui.Box box = new Efl.Ui.Box(parent);

//Creating content which we will pack into the box
//It can be any widget, for example, buttons
Efl.Ui.Button button1 = new Efl.Ui.Button(box);
Efl.Ui.Button button2 = new Efl.Ui.Button(box);

//Packing the content to the box, one after another
box.Pack(button1);
box.Pack(button2);