1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
using Gtk;
using Lsc.Widgets;
namespace Lsc.Pages {
public class HomePage : Box {
public CategoriesView categories_view;
public HomePage () {
orientation = Orientation.VERTICAL;
spacing = 5;
border_width = 5;
categories_view = new CategoriesView(3);
categories_view.halign = Align.CENTER;
Label categories_label = new Label("<b>Categories</b>");
categories_label.use_markup = true;
categories_label.xalign = 0.0f;
pack_start(categories_label, false, false, 0);
pack_start(categories_view, false, false, 0);
}
}
}
|