~lubuntu-software-center-team/lubuntu-software-center/vala-port

« back to all changes in this revision

Viewing changes to src/Widgets/Pages/HomePage.vala

  • Committer: Stephen Smally
  • Date: 2012-03-04 12:59:13 UTC
  • Revision ID: eco.stefi@fastwebnet.it-20120304125913-bk1iutifwoeoyo0i
Worked a lot!

Show diffs side-by-side

added added

removed removed

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