Builder4/ValaProjectSettings.bjs
authorAlan Knowles <alan@roojs.com>
Thu, 30 Oct 2014 10:52:56 +0000 (18:52 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 30 Oct 2014 10:52:56 +0000 (18:52 +0800)
Builder4/ValaProjectSettings.vala

Builder4/ValaProjectSettings.bjs
Builder4/ValaProjectSettings.vala

index 126ea38..73f83c7 100644 (file)
                                                             "$ xns" : "Gtk"
                                                         }
                                                     ]
+                                                },
+                                                {
+                                                    "utf8 title" : "name",
+                                                    "* init" : " this.el.add_attribute(_this.packages_render.el , \"markup\", 2 );\n this.el.add_attribute(_this.packages_render.el , \"text\", 1 );\n  ",
+                                                    "* pack" : "append_column",
+                                                    "xtype" : "TreeViewColumn",
+                                                    "gboolean resizable" : true,
+                                                    "$ xns" : "Gtk",
+                                                    "items" : [
+                                                        {
+                                                            "id" : "packages_render",
+                                                            "xtype" : "CellRendererText",
+                                                            "* pack" : "pack_start,false",
+                                                            "$ xns" : "Gtk"
+                                                        }
+                                                    ]
                                                 }
                                             ]
                                         }
index a4c3207..4f830e0 100644 (file)
@@ -17,6 +17,7 @@ public class ValaProjectSettings : Object
     public Xcls_compile_flags compile_flags;
     public Xcls_default_packages_tree_store default_packages_tree_store;
     public Xcls_packages_render packages_render;
+    public Xcls_packages_render packages_render;
     public Xcls_default_directory_tree_store default_directory_tree_store;
     public Xcls_directory_render directory_render;
     public Xcls_targets_tree targets_tree;
@@ -84,7 +85,7 @@ public class ValaProjectSettings : Object
             var child_2 = new Xcls_VBox5( _this );
             child_2.ref();
             this.el.append_page (  child_2.el , _this.label_global.el );
-            var child_3 = new Xcls_HPaned20( _this );
+            var child_3 = new Xcls_HPaned22( _this );
             child_3.ref();
             this.el.append_page (  child_3.el , _this.label_targets.el );
         }
@@ -164,10 +165,10 @@ public class ValaProjectSettings : Object
             var child_3 = new Xcls_ScrolledWindow9( _this );
             child_3.ref();
             this.el.pack_start (  child_3.el , true,true,0 );
-            var child_4 = new Xcls_Label14( _this );
+            var child_4 = new Xcls_Label16( _this );
             child_4.ref();
             this.el.pack_start (  child_4.el , false,false,0 );
-            var child_5 = new Xcls_ScrolledWindow15( _this );
+            var child_5 = new Xcls_ScrolledWindow17( _this );
             child_5.ref();
             this.el.pack_start (  child_5.el , true,true,0 );
         }
@@ -285,6 +286,9 @@ public class ValaProjectSettings : Object
             var child_1 = new Xcls_TreeViewColumn12( _this );
             child_1.ref();
             this.el.append_column (  child_1.el  );
+            var child_2 = new Xcls_TreeViewColumn14( _this );
+            child_2.ref();
+            this.el.append_column (  child_2.el  );
         }
 
         // user defined functions 
@@ -382,7 +386,59 @@ public class ValaProjectSettings : Object
 
         // user defined functions 
     }
-    public class Xcls_Label14 : Object 
+    public class Xcls_TreeViewColumn14 : Object 
+    {
+        public Gtk.TreeViewColumn el;
+        private ValaProjectSettings  _this;
+
+
+            // my vars (def)
+
+        // ctor 
+        public Xcls_TreeViewColumn14(ValaProjectSettings _owner )
+        {
+            _this = _owner;
+            this.el = new Gtk.TreeViewColumn();
+
+            // my vars (dec)
+
+            // set gobject values
+            this.el.title = "name";
+            this.el.resizable = true;
+            var child_0 = new Xcls_packages_render( _this );
+            child_0.ref();
+            this.el.pack_start (  child_0.el , false );
+
+            // init method 
+
+            this.el.add_attribute(_this.packages_render.el , "markup", 2 );
+             this.el.add_attribute(_this.packages_render.el , "text", 1 );        }
+
+        // user defined functions 
+    }
+    public class Xcls_packages_render : Object 
+    {
+        public Gtk.CellRendererText el;
+        private ValaProjectSettings  _this;
+
+
+            // my vars (def)
+
+        // ctor 
+        public Xcls_packages_render(ValaProjectSettings _owner )
+        {
+            _this = _owner;
+            _this.packages_render = this;
+            this.el = new Gtk.CellRendererText();
+
+            // my vars (dec)
+
+            // set gobject values
+        }
+
+        // user defined functions 
+    }
+    public class Xcls_Label16 : Object 
     {
         public Gtk.Label el;
         private ValaProjectSettings  _this;
@@ -391,7 +447,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_Label14(ValaProjectSettings _owner )
+        public Xcls_Label16(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.Label( "Available Directories" );
@@ -403,7 +459,7 @@ public class ValaProjectSettings : Object
 
         // user defined functions 
     }
-    public class Xcls_ScrolledWindow15 : Object 
+    public class Xcls_ScrolledWindow17 : Object 
     {
         public Gtk.ScrolledWindow el;
         private ValaProjectSettings  _this;
@@ -412,7 +468,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_ScrolledWindow15(ValaProjectSettings _owner )
+        public Xcls_ScrolledWindow17(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.ScrolledWindow( null, null );
@@ -447,7 +503,7 @@ public class ValaProjectSettings : Object
             var child_0 = new Xcls_default_directory_tree_store( _this );
             child_0.ref();
             this.el.set_model (  child_0.el  );
-            var child_1 = new Xcls_TreeViewColumn18( _this );
+            var child_1 = new Xcls_TreeViewColumn20( _this );
             child_1.ref();
             this.el.append_column (  child_1.el  );
         }
@@ -492,7 +548,7 @@ public class ValaProjectSettings : Object
             
         }
     }
-    public class Xcls_TreeViewColumn18 : Object 
+    public class Xcls_TreeViewColumn20 : Object 
     {
         public Gtk.TreeViewColumn el;
         private ValaProjectSettings  _this;
@@ -501,7 +557,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_TreeViewColumn18(ValaProjectSettings _owner )
+        public Xcls_TreeViewColumn20(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.TreeViewColumn();
@@ -544,7 +600,7 @@ public class ValaProjectSettings : Object
 
         // user defined functions 
     }
-    public class Xcls_HPaned20 : Object 
+    public class Xcls_HPaned22 : Object 
     {
         public Gtk.HPaned el;
         private ValaProjectSettings  _this;
@@ -553,7 +609,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_HPaned20(ValaProjectSettings _owner )
+        public Xcls_HPaned22(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.HPaned();
@@ -562,7 +618,7 @@ public class ValaProjectSettings : Object
 
             // set gobject values
             this.el.position = 300;
-            var child_0 = new Xcls_ScrolledWindow21( _this );
+            var child_0 = new Xcls_ScrolledWindow23( _this );
             child_0.ref();
             this.el.add1 (  child_0.el  );
             var child_1 = new Xcls_set_vbox( _this );
@@ -572,7 +628,7 @@ public class ValaProjectSettings : Object
 
         // user defined functions 
     }
-    public class Xcls_ScrolledWindow21 : Object 
+    public class Xcls_ScrolledWindow23 : Object 
     {
         public Gtk.ScrolledWindow el;
         private ValaProjectSettings  _this;
@@ -581,7 +637,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_ScrolledWindow21(ValaProjectSettings _owner )
+        public Xcls_ScrolledWindow23(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.ScrolledWindow( null, null );
@@ -619,17 +675,17 @@ public class ValaProjectSettings : Object
             // my vars (dec)
 
             // set gobject values
-            var child_0 = new Xcls_ListStore23( _this );
+            var child_0 = new Xcls_ListStore25( _this );
             child_0.ref();
             this.el.set_model (  child_0.el  );
-            var child_1 = new Xcls_TreeViewColumn24( _this );
+            var child_1 = new Xcls_TreeViewColumn26( _this );
             child_1.ref();
             this.el.append_column (  child_1.el  );
         }
 
         // user defined functions 
     }
-    public class Xcls_ListStore23 : Object 
+    public class Xcls_ListStore25 : Object 
     {
         public Gtk.ListStore el;
         private ValaProjectSettings  _this;
@@ -638,7 +694,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_ListStore23(ValaProjectSettings _owner )
+        public Xcls_ListStore25(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.ListStore( 2,     typeof(string),  // 0 key type
@@ -652,7 +708,7 @@ public class ValaProjectSettings : Object
 
         // user defined functions 
     }
-    public class Xcls_TreeViewColumn24 : Object 
+    public class Xcls_TreeViewColumn26 : Object 
     {
         public Gtk.TreeViewColumn el;
         private ValaProjectSettings  _this;
@@ -661,7 +717,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_TreeViewColumn24(ValaProjectSettings _owner )
+        public Xcls_TreeViewColumn26(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.TreeViewColumn();
@@ -721,29 +777,29 @@ public class ValaProjectSettings : Object
             // my vars (dec)
 
             // set gobject values
-            var child_0 = new Xcls_Label27( _this );
+            var child_0 = new Xcls_Label29( _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_start (  child_1.el , false,false,0 );
-            var child_2 = new Xcls_Label29( _this );
+            var child_2 = new Xcls_Label31( _this );
             child_2.ref();
             this.el.pack_start (  child_2.el , false,false,0 );
             var child_3 = new Xcls_build_compile_flags( _this );
             child_3.ref();
             this.el.pack_start (  child_3.el , false,false,0 );
-            var child_4 = new Xcls_Label31( _this );
+            var child_4 = new Xcls_Label33( _this );
             child_4.ref();
             this.el.pack_start (  child_4.el , false,false,0 );
-            var child_5 = new Xcls_ScrolledWindow32( _this );
+            var child_5 = new Xcls_ScrolledWindow34( _this );
             child_5.ref();
             this.el.pack_start (  child_5.el , true,true,0 );
         }
 
         // user defined functions 
     }
-    public class Xcls_Label27 : Object 
+    public class Xcls_Label29 : Object 
     {
         public Gtk.Label el;
         private ValaProjectSettings  _this;
@@ -752,7 +808,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_Label27(ValaProjectSettings _owner )
+        public Xcls_Label29(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.Label( "target filename" );
@@ -785,7 +841,7 @@ public class ValaProjectSettings : Object
 
         // user defined functions 
     }
-    public class Xcls_Label29 : Object 
+    public class Xcls_Label31 : Object 
     {
         public Gtk.Label el;
         private ValaProjectSettings  _this;
@@ -794,7 +850,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_Label29(ValaProjectSettings _owner )
+        public Xcls_Label31(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.Label( "compile flags" );
@@ -827,7 +883,7 @@ public class ValaProjectSettings : Object
 
         // user defined functions 
     }
-    public class Xcls_Label31 : Object 
+    public class Xcls_Label33 : Object 
     {
         public Gtk.Label el;
         private ValaProjectSettings  _this;
@@ -836,7 +892,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_Label31(ValaProjectSettings _owner )
+        public Xcls_Label33(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.Label( "Files to compile" );
@@ -848,7 +904,7 @@ public class ValaProjectSettings : Object
 
         // user defined functions 
     }
-    public class Xcls_ScrolledWindow32 : Object 
+    public class Xcls_ScrolledWindow34 : Object 
     {
         public Gtk.ScrolledWindow el;
         private ValaProjectSettings  _this;
@@ -857,7 +913,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_ScrolledWindow32(ValaProjectSettings _owner )
+        public Xcls_ScrolledWindow34(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.ScrolledWindow( null, null );
@@ -888,17 +944,17 @@ public class ValaProjectSettings : Object
             // my vars (dec)
 
             // set gobject values
-            var child_0 = new Xcls_ListStore34( _this );
+            var child_0 = new Xcls_ListStore36( _this );
             child_0.ref();
             this.el.set_model (  child_0.el  );
-            var child_1 = new Xcls_TreeViewColumn35( _this );
+            var child_1 = new Xcls_TreeViewColumn37( _this );
             child_1.ref();
             this.el.append_column (  child_1.el  );
         }
 
         // user defined functions 
     }
-    public class Xcls_ListStore34 : Object 
+    public class Xcls_ListStore36 : Object 
     {
         public Gtk.ListStore el;
         private ValaProjectSettings  _this;
@@ -907,7 +963,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_ListStore34(ValaProjectSettings _owner )
+        public Xcls_ListStore36(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.ListStore( 2,     typeof(string),  // 0 key type
@@ -921,7 +977,7 @@ public class ValaProjectSettings : Object
 
         // user defined functions 
     }
-    public class Xcls_TreeViewColumn35 : Object 
+    public class Xcls_TreeViewColumn37 : Object 
     {
         public Gtk.TreeViewColumn el;
         private ValaProjectSettings  _this;
@@ -930,7 +986,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_TreeViewColumn35(ValaProjectSettings _owner )
+        public Xcls_TreeViewColumn37(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.TreeViewColumn();