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

Builder4/ValaProjectSettings.bjs
Builder4/ValaProjectSettings.vala

index fbf6a45..479d4b3 100644 (file)
                                             "xtype" : "TreeView",
                                             "* pack" : "add",
                                             "string id" : "default_directory_tree",
-                                            "$ xns" : "Gtk"
+                                            "$ xns" : "Gtk",
+                                            "items" : [
+                                                {
+                                                    "* pack" : "set_model",
+                                                    "xtype" : "ListStore",
+                                                    "$ xns" : "Gtk"
+                                                }
+                                            ]
                                         }
                                     ]
                                 }
index 0f9dc7f..4520120 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_HPaned13( _this );
+            var child_1 = new Xcls_HPaned14( _this );
             child_1.ref();
             this.el.add (  child_1.el  );
         }
@@ -289,12 +289,36 @@ public class ValaProjectSettings : Object
 
             // my vars (dec)
 
+            // set gobject values
+            var child_0 = new Xcls_ListStore13( _this );
+            child_0.ref();
+            this.el.set_model (  child_0.el  );
+        }
+
+        // user defined functions 
+    }
+    public class Xcls_ListStore13 : Object 
+    {
+        public Gtk.ListStore el;
+        private ValaProjectSettings  _this;
+
+
+            // my vars (def)
+
+        // ctor 
+        public Xcls_ListStore13(ValaProjectSettings _owner )
+        {
+            _this = _owner;
+            this.el = new Gtk.ListStore( 0, null );
+
+            // my vars (dec)
+
             // set gobject values
         }
 
         // user defined functions 
     }
-    public class Xcls_HPaned13 : Object 
+    public class Xcls_HPaned14 : Object 
     {
         public Gtk.HPaned el;
         private ValaProjectSettings  _this;
@@ -303,7 +327,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_HPaned13(ValaProjectSettings _owner )
+        public Xcls_HPaned14(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.HPaned();
@@ -312,7 +336,7 @@ public class ValaProjectSettings : Object
 
             // set gobject values
             this.el.position = 300;
-            var child_0 = new Xcls_ScrolledWindow14( _this );
+            var child_0 = new Xcls_ScrolledWindow15( _this );
             child_0.ref();
             this.el.add1 (  child_0.el  );
             var child_1 = new Xcls_set_vbox( _this );
@@ -322,7 +346,7 @@ public class ValaProjectSettings : Object
 
         // user defined functions 
     }
-    public class Xcls_ScrolledWindow14 : Object 
+    public class Xcls_ScrolledWindow15 : Object 
     {
         public Gtk.ScrolledWindow el;
         private ValaProjectSettings  _this;
@@ -331,7 +355,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_ScrolledWindow14(ValaProjectSettings _owner )
+        public Xcls_ScrolledWindow15(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.ScrolledWindow( null, null );
@@ -389,28 +413,28 @@ public class ValaProjectSettings : Object
             // my vars (dec)
 
             // set gobject values
-            var child_0 = new Xcls_Label17( _this );
+            var child_0 = new Xcls_Label18( _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_Label19( _this );
+            var child_2 = new Xcls_Label20( _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_Label21( _this );
+            var child_4 = new Xcls_Label22( _this );
             child_4.ref();
             this.el.pack_end (  child_4.el , false,false,0 );
-            var child_5 = new Xcls_ScrolledWindow22( _this );
+            var child_5 = new Xcls_ScrolledWindow23( _this );
             child_5.ref();
         }
 
         // user defined functions 
     }
-    public class Xcls_Label17 : Object 
+    public class Xcls_Label18 : Object 
     {
         public Gtk.Label el;
         private ValaProjectSettings  _this;
@@ -419,7 +443,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_Label17(ValaProjectSettings _owner )
+        public Xcls_Label18(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.Label( "target filename" );
@@ -452,7 +476,7 @@ public class ValaProjectSettings : Object
 
         // user defined functions 
     }
-    public class Xcls_Label19 : Object 
+    public class Xcls_Label20 : Object 
     {
         public Gtk.Label el;
         private ValaProjectSettings  _this;
@@ -461,7 +485,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_Label19(ValaProjectSettings _owner )
+        public Xcls_Label20(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.Label( "compile flags" );
@@ -494,7 +518,7 @@ public class ValaProjectSettings : Object
 
         // user defined functions 
     }
-    public class Xcls_Label21 : Object 
+    public class Xcls_Label22 : Object 
     {
         public Gtk.Label el;
         private ValaProjectSettings  _this;
@@ -503,7 +527,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_Label21(ValaProjectSettings _owner )
+        public Xcls_Label22(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.Label( "Files to compile" );
@@ -515,7 +539,7 @@ public class ValaProjectSettings : Object
 
         // user defined functions 
     }
-    public class Xcls_ScrolledWindow22 : Object 
+    public class Xcls_ScrolledWindow23 : Object 
     {
         public Gtk.ScrolledWindow el;
         private ValaProjectSettings  _this;
@@ -524,7 +548,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_ScrolledWindow22(ValaProjectSettings _owner )
+        public Xcls_ScrolledWindow23(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.ScrolledWindow( null, null );