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

//Creating content which we will pack into the box - it can be any widgets, 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);