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

Builder4/ValaProjectSettings.bjs
Builder4/ValaProjectSettings.vala

index 08a614f..216ef2d 100644 (file)
                                                     "* pack" : "append_column",
                                                     "xtype" : "TreeViewColumn",
                                                     "gboolean resizable" : true,
-                                                    "$ xns" : "Gtk"
+                                                    "$ xns" : "Gtk",
+                                                    "items" : [
+                                                        {
+                                                            "xtype" : "CellRendererText",
+                                                            "$ xns" : "Gtk"
+                                                        }
+                                                    ]
                                                 }
                                             ]
                                         }
                                                     "$ n_columns" : 2,
                                                     "$ columns" : "    typeof(string),  // 0 key type\n     typeof(string) // ??\n     ",
                                                     "$ xns" : "Gtk"
+                                                },
+                                                {
+                                                    "utf8 title" : "name",
+                                                    "* init" : " this.el.add_attribute(_this.keyrender.el , \"markup\", 2 );\n this.el.add_attribute(_this.keyrender.el , \"text\", 1 );\n  ",
+                                                    "* pack" : "append_column",
+                                                    "xtype" : "TreeViewColumn",
+                                                    "gboolean resizable" : true,
+                                                    "$ xns" : "Gtk"
                                                 }
                                             ]
                                         }
index 6494076..866901d 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_HPaned15( _this );
+            var child_1 = new Xcls_HPaned17( _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_Label11( _this );
+            var child_4 = new Xcls_Label12( _this );
             child_4.ref();
             this.el.pack_end (  child_4.el , false,false,0 );
-            var child_5 = new Xcls_ScrolledWindow12( _this );
+            var child_5 = new Xcls_ScrolledWindow13( _this );
             child_5.ref();
             this.el.pack_end (  child_5.el , true,true,0 );
         }
@@ -252,6 +252,8 @@ public class ValaProjectSettings : Object
             // set gobject values
             this.el.title = "name";
             this.el.resizable = true;
+            var child_0 = new Xcls_CellRendererText11( _this );
+            child_0.ref();
 
             // init method 
 
@@ -260,7 +262,28 @@ public class ValaProjectSettings : Object
 
         // user defined functions 
     }
-    public class Xcls_Label11 : Object 
+    public class Xcls_CellRendererText11 : Object 
+    {
+        public Gtk.CellRendererText el;
+        private ValaProjectSettings  _this;
+
+
+            // my vars (def)
+
+        // ctor 
+        public Xcls_CellRendererText11(ValaProjectSettings _owner )
+        {
+            _this = _owner;
+            this.el = new Gtk.CellRendererText();
+
+            // my vars (dec)
+
+            // set gobject values
+        }
+
+        // user defined functions 
+    }
+    public class Xcls_Label12 : Object 
     {
         public Gtk.Label el;
         private ValaProjectSettings  _this;
@@ -269,7 +292,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_Label11(ValaProjectSettings _owner )
+        public Xcls_Label12(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.Label( "Available Directories" );
@@ -281,7 +304,7 @@ public class ValaProjectSettings : Object
 
         // user defined functions 
     }
-    public class Xcls_ScrolledWindow12 : Object 
+    public class Xcls_ScrolledWindow13 : Object 
     {
         public Gtk.ScrolledWindow el;
         private ValaProjectSettings  _this;
@@ -290,7 +313,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_ScrolledWindow12(ValaProjectSettings _owner )
+        public Xcls_ScrolledWindow13(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.ScrolledWindow( null, null );
@@ -322,14 +345,17 @@ public class ValaProjectSettings : Object
             // my vars (dec)
 
             // set gobject values
-            var child_0 = new Xcls_ListStore14( _this );
+            var child_0 = new Xcls_ListStore15( _this );
             child_0.ref();
             this.el.set_model (  child_0.el  );
+            var child_1 = new Xcls_TreeViewColumn16( _this );
+            child_1.ref();
+            this.el.append_column (  child_1.el  );
         }
 
         // user defined functions 
     }
-    public class Xcls_ListStore14 : Object 
+    public class Xcls_ListStore15 : Object 
     {
         public Gtk.ListStore el;
         private ValaProjectSettings  _this;
@@ -338,7 +364,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_ListStore14(ValaProjectSettings _owner )
+        public Xcls_ListStore15(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.ListStore( 2,     typeof(string),  // 0 key type
@@ -352,7 +378,34 @@ public class ValaProjectSettings : Object
 
         // user defined functions 
     }
-    public class Xcls_HPaned15 : Object 
+    public class Xcls_TreeViewColumn16 : Object 
+    {
+        public Gtk.TreeViewColumn el;
+        private ValaProjectSettings  _this;
+
+
+            // my vars (def)
+
+        // ctor 
+        public Xcls_TreeViewColumn16(ValaProjectSettings _owner )
+        {
+            _this = _owner;
+            this.el = new Gtk.TreeViewColumn();
+
+            // my vars (dec)
+
+            // set gobject values
+            this.el.title = "name";
+            this.el.resizable = true;
+
+            // init method 
+
+            this.el.add_attribute(_this.keyrender.el , "markup", 2 );
+             this.el.add_attribute(_this.keyrender.el , "text", 1 );        }
+
+        // user defined functions 
+    }
+    public class Xcls_HPaned17 : Object 
     {
         public Gtk.HPaned el;
         private ValaProjectSettings  _this;
@@ -361,7 +414,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_HPaned15(ValaProjectSettings _owner )
+        public Xcls_HPaned17(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.HPaned();
@@ -370,7 +423,7 @@ public class ValaProjectSettings : Object
 
             // set gobject values
             this.el.position = 300;
-            var child_0 = new Xcls_ScrolledWindow16( _this );
+            var child_0 = new Xcls_ScrolledWindow18( _this );
             child_0.ref();
             this.el.add1 (  child_0.el  );
             var child_1 = new Xcls_set_vbox( _this );
@@ -380,7 +433,7 @@ public class ValaProjectSettings : Object
 
         // user defined functions 
     }
-    public class Xcls_ScrolledWindow16 : Object 
+    public class Xcls_ScrolledWindow18 : Object 
     {
         public Gtk.ScrolledWindow el;
         private ValaProjectSettings  _this;
@@ -389,7 +442,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_ScrolledWindow16(ValaProjectSettings _owner )
+        public Xcls_ScrolledWindow18(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.ScrolledWindow( null, null );
@@ -447,28 +500,28 @@ public class ValaProjectSettings : Object
             // my vars (dec)
 
             // set gobject values
-            var child_0 = new Xcls_Label19( _this );
+            var child_0 = new Xcls_Label21( _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_Label21( _this );
+            var child_2 = new Xcls_Label23( _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_Label23( _this );
+            var child_4 = new Xcls_Label25( _this );
             child_4.ref();
             this.el.pack_end (  child_4.el , false,false,0 );
-            var child_5 = new Xcls_ScrolledWindow24( _this );
+            var child_5 = new Xcls_ScrolledWindow26( _this );
             child_5.ref();
         }
 
         // user defined functions 
     }
-    public class Xcls_Label19 : Object 
+    public class Xcls_Label21 : Object 
     {
         public Gtk.Label el;
         private ValaProjectSettings  _this;
@@ -477,7 +530,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_Label19(ValaProjectSettings _owner )
+        public Xcls_Label21(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.Label( "target filename" );
@@ -510,7 +563,7 @@ public class ValaProjectSettings : Object
 
         // user defined functions 
     }
-    public class Xcls_Label21 : Object 
+    public class Xcls_Label23 : Object 
     {
         public Gtk.Label el;
         private ValaProjectSettings  _this;
@@ -519,7 +572,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_Label21(ValaProjectSettings _owner )
+        public Xcls_Label23(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.Label( "compile flags" );
@@ -552,7 +605,7 @@ public class ValaProjectSettings : Object
 
         // user defined functions 
     }
-    public class Xcls_Label23 : Object 
+    public class Xcls_Label25 : Object 
     {
         public Gtk.Label el;
         private ValaProjectSettings  _this;
@@ -561,7 +614,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_Label23(ValaProjectSettings _owner )
+        public Xcls_Label25(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.Label( "Files to compile" );
@@ -573,7 +626,7 @@ public class ValaProjectSettings : Object
 
         // user defined functions 
     }
-    public class Xcls_ScrolledWindow24 : Object 
+    public class Xcls_ScrolledWindow26 : Object 
     {
         public Gtk.ScrolledWindow el;
         private ValaProjectSettings  _this;
@@ -582,7 +635,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_ScrolledWindow24(ValaProjectSettings _owner )
+        public Xcls_ScrolledWindow26(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.ScrolledWindow( null, null );