Builder4/ValaProjectSettings.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 29 Oct 2014 09:31:55 +0000 (17:31 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 29 Oct 2014 09:31:55 +0000 (17:31 +0800)
Builder4/ValaProjectSettings.vala

Builder4/ValaProjectSettings.bjs
Builder4/ValaProjectSettings.vala

index a206fb7..fbf6a45 100644 (file)
                                     "items" : [
                                         {
                                             "xtype" : "TreeView",
+                                            "* pack" : "add",
                                             "string id" : "default_packages_tree",
-                                            "$ xns" : "Gtk"
+                                            "$ xns" : "Gtk",
+                                            "items" : [
+                                                {
+                                                    "* pack" : "set_model",
+                                                    "xtype" : "ListStore",
+                                                    "$ xns" : "Gtk"
+                                                }
+                                            ]
                                         }
                                     ]
                                 },
@@ -65,6 +73,7 @@
                                     "items" : [
                                         {
                                             "xtype" : "TreeView",
+                                            "* pack" : "add",
                                             "string id" : "default_directory_tree",
                                             "$ xns" : "Gtk"
                                         }
index 2065b28..0f9dc7f 100644 (file)
@@ -50,7 +50,7 @@ public class ValaProjectSettings : Object
             var child_0 = new Xcls_VBox3( _this );
             child_0.ref();
             this.el.add (  child_0.el  );
-            var child_1 = new Xcls_HPaned12( _this );
+            var child_1 = new Xcls_HPaned13( _this );
             child_1.ref();
             this.el.add (  child_1.el  );
         }
@@ -86,10 +86,10 @@ public class ValaProjectSettings : Object
             var child_3 = new Xcls_ScrolledWindow7( _this );
             child_3.ref();
             this.el.pack_end (  child_3.el , true,true,0 );
-            var child_4 = new Xcls_Label9( _this );
+            var child_4 = new Xcls_Label10( _this );
             child_4.ref();
             this.el.pack_end (  child_4.el , false,false,0 );
-            var child_5 = new Xcls_ScrolledWindow10( _this );
+            var child_5 = new Xcls_ScrolledWindow11( _this );
             child_5.ref();
             this.el.pack_end (  child_5.el , true,true,0 );
         }
@@ -178,6 +178,7 @@ public class ValaProjectSettings : Object
             // set gobject values
             var child_0 = new Xcls_default_packages_tree( _this );
             child_0.ref();
+            this.el.add (  child_0.el  );
         }
 
         // user defined functions 
@@ -198,12 +199,36 @@ public class ValaProjectSettings : Object
 
             // my vars (dec)
 
+            // set gobject values
+            var child_0 = new Xcls_ListStore9( _this );
+            child_0.ref();
+            this.el.set_model (  child_0.el  );
+        }
+
+        // user defined functions 
+    }
+    public class Xcls_ListStore9 : Object 
+    {
+        public Gtk.ListStore el;
+        private ValaProjectSettings  _this;
+
+
+            // my vars (def)
+
+        // ctor 
+        public Xcls_ListStore9(ValaProjectSettings _owner )
+        {
+            _this = _owner;
+            this.el = new Gtk.ListStore( 0, null );
+
+            // my vars (dec)
+
             // set gobject values
         }
 
         // user defined functions 
     }
-    public class Xcls_Label9 : Object 
+    public class Xcls_Label10 : Object 
     {
         public Gtk.Label el;
         private ValaProjectSettings  _this;
@@ -212,7 +237,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_Label9(ValaProjectSettings _owner )
+        public Xcls_Label10(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.Label( "Available Directories" );
@@ -224,7 +249,7 @@ public class ValaProjectSettings : Object
 
         // user defined functions 
     }
-    public class Xcls_ScrolledWindow10 : Object 
+    public class Xcls_ScrolledWindow11 : Object 
     {
         public Gtk.ScrolledWindow el;
         private ValaProjectSettings  _this;
@@ -233,7 +258,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_ScrolledWindow10(ValaProjectSettings _owner )
+        public Xcls_ScrolledWindow11(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.ScrolledWindow( null, null );
@@ -243,6 +268,7 @@ public class ValaProjectSettings : Object
             // set gobject values
             var child_0 = new Xcls_default_directory_tree( _this );
             child_0.ref();
+            this.el.add (  child_0.el  );
         }
 
         // user defined functions 
@@ -268,7 +294,7 @@ public class ValaProjectSettings : Object
 
         // user defined functions 
     }
-    public class Xcls_HPaned12 : Object 
+    public class Xcls_HPaned13 : Object 
     {
         public Gtk.HPaned el;
         private ValaProjectSettings  _this;
@@ -277,7 +303,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_HPaned12(ValaProjectSettings _owner )
+        public Xcls_HPaned13(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.HPaned();
@@ -286,7 +312,7 @@ public class ValaProjectSettings : Object
 
             // set gobject values
             this.el.position = 300;
-            var child_0 = new Xcls_ScrolledWindow13( _this );
+            var child_0 = new Xcls_ScrolledWindow14( _this );
             child_0.ref();
             this.el.add1 (  child_0.el  );
             var child_1 = new Xcls_set_vbox( _this );
@@ -296,7 +322,7 @@ public class ValaProjectSettings : Object
 
         // user defined functions 
     }
-    public class Xcls_ScrolledWindow13 : Object 
+    public class Xcls_ScrolledWindow14 : Object 
     {
         public Gtk.ScrolledWindow el;
         private ValaProjectSettings  _this;
@@ -305,7 +331,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_ScrolledWindow13(ValaProjectSettings _owner )
+        public Xcls_ScrolledWindow14(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.ScrolledWindow( null, null );
@@ -363,28 +389,28 @@ public class ValaProjectSettings : Object
             // my vars (dec)
 
             // set gobject values
-            var child_0 = new Xcls_Label16( _this );
+            var child_0 = new Xcls_Label17( _this );
             child_0.ref();
             this.el.pack_start (  child_0.el , false,false,0 );
             var child_1 = new Xcls_build_pack_target( _this );
             child_1.ref();
             this.el.pack_end (  child_1.el , false,false,0 );
-            var child_2 = new Xcls_Label18( _this );
+            var child_2 = new Xcls_Label19( _this );
             child_2.ref();
             this.el.pack_end (  child_2.el , false,false,0 );
             var child_3 = new Xcls_build_compile_flags( _this );
             child_3.ref();
             this.el.pack_end (  child_3.el , false,false,0 );
-            var child_4 = new Xcls_Label20( _this );
+            var child_4 = new Xcls_Label21( _this );
             child_4.ref();
             this.el.pack_end (  child_4.el , false,false,0 );
-            var child_5 = new Xcls_ScrolledWindow21( _this );
+            var child_5 = new Xcls_ScrolledWindow22( _this );
             child_5.ref();
         }
 
         // user defined functions 
     }
-    public class Xcls_Label16 : Object 
+    public class Xcls_Label17 : Object 
     {
         public Gtk.Label el;
         private ValaProjectSettings  _this;
@@ -393,7 +419,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_Label16(ValaProjectSettings _owner )
+        public Xcls_Label17(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.Label( "target filename" );
@@ -426,7 +452,7 @@ public class ValaProjectSettings : Object
 
         // user defined functions 
     }
-    public class Xcls_Label18 : Object 
+    public class Xcls_Label19 : Object 
     {
         public Gtk.Label el;
         private ValaProjectSettings  _this;
@@ -435,7 +461,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_Label18(ValaProjectSettings _owner )
+        public Xcls_Label19(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.Label( "compile flags" );
@@ -468,7 +494,7 @@ public class ValaProjectSettings : Object
 
         // user defined functions 
     }
-    public class Xcls_Label20 : Object 
+    public class Xcls_Label21 : Object 
     {
         public Gtk.Label el;
         private ValaProjectSettings  _this;
@@ -477,7 +503,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_Label20(ValaProjectSettings _owner )
+        public Xcls_Label21(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.Label( "Files to compile" );
@@ -489,7 +515,7 @@ public class ValaProjectSettings : Object
 
         // user defined functions 
     }
-    public class Xcls_ScrolledWindow21 : Object 
+    public class Xcls_ScrolledWindow22 : Object 
     {
         public Gtk.ScrolledWindow el;
         private ValaProjectSettings  _this;
@@ -498,7 +524,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_ScrolledWindow21(ValaProjectSettings _owner )
+        public Xcls_ScrolledWindow22(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.ScrolledWindow( null, null );