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

table.SetTableSize(2, 2);

Efl.Ui.Button button1 = new Efl.Ui.Button(table);
Efl.Ui.Button button2 = new Efl.Ui.Button(table);

// The first column and row have indexes = 0.
table.PackTable(button1, 0, 0, 1, 1);
table.PackTable(button2, 1, 1, 1, 1);