[atomato] Add main container and library list



commit 4c5cd8a156c1d9c1f70c639ef1ff4f39d8178c91
Author: Rodrigo Moya <rodrigo gnome-db org>
Date:   Fri Jan 22 19:22:06 2016 +0100

    Add main container and library list

 src/main-window.vala |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/src/main-window.vala b/src/main-window.vala
index c50fa92..6994402 100644
--- a/src/main-window.vala
+++ b/src/main-window.vala
@@ -26,10 +26,21 @@ namespace Atomato
 {
     public class MainWindow : Gtk.ApplicationWindow
     {
+        Gtk.Paned main_container;
+        Gtk.TreeView library_list;
+
         public MainWindow (Atomato.Application app)
         {
             Object (application: app);
 
+            main_container = new Gtk.Paned (Gtk.Orientation.HORIZONTAL);
+            add (main_container);
+
+            library_list = new Gtk.TreeView ();
+            library_list.show ();
+            main_container.add1 (library_list);
+
+            main_container.show ();
             show ();
         }
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]