src/Builder4/ValaProjectSettings.bjs
authorAlan Knowles <alan@roojs.com>
Tue, 28 Apr 2015 10:06:55 +0000 (18:06 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 28 Apr 2015 10:06:55 +0000 (18:06 +0800)
src/Builder4/ValaProjectSettings.vala

src/Builder4/ValaProjectSettings.bjs
src/Builder4/ValaProjectSettings.vala

index c7e39b8..18bc10f 100644 (file)
      "items" : [
       {
        "id" : "label_global",
-       "* pack" : false,
        "xtype" : "Label",
+       "* pack" : false,
        "$ xns" : "Gtk",
        "utf8 label" : "Global"
       },
       {
        "id" : "label_targets",
-       "xtype" : "Label",
        "* pack" : false,
+       "xtype" : "Label",
        "$ xns" : "Gtk",
        "utf8 label" : "Targets"
       },
@@ -52,8 +52,8 @@
           "changed" : "() => {\n    \n   _this.project.compilegroups.get(\"_default_\").compile_flags = this.el.text;\n   _this.project.writeConfig();\n//    _this.project.save();\n\n}"
          },
          "id" : "compile_flags",
-         "* pack" : "pack_start,false,false,0",
          "xtype" : "Entry",
+         "* pack" : "pack_start,false,false,0",
          "$ xns" : "Gtk",
          "utf8 placeholder_text" : "eg. -g --valasrc $BASEDIR "
         },
          "$ xns" : "Gtk",
          "utf8 label" : "packages"
         },
+        {
+         "* pack" : "pack_start,true,true,0",
+         "xtype" : "HBox",
+         "$ xns" : "Gtk"
+        },
         {
          "* pack" : "pack_start,true,true,0",
          "xtype" : "ScrolledWindow",
          "items" : [
           {
            "gboolean headers_visible" : false,
-           "xtype" : "TreeView",
            "* pack" : "add",
+           "xtype" : "TreeView",
            "string id" : "default_packages_tree",
            "$ xns" : "Gtk",
            "items" : [
             {
              "id" : "default_packages_tree_store",
-             "xtype" : "ListStore",
              "* pack" : "set_model",
+             "xtype" : "ListStore",
              "$ n_columns" : 2,
              "| void load" : "() {\n \n    var def = _this.project.compilegroups.get(\"_default_\");\n    var items  = def.packages;\n    \n    this.el.clear();\n    var pal = (Palete.Gtk) Palete.factory(\"Gtk\");\n    var pkgs = pal.packages(_this.project);\n    print(\"ValaProjectSettings:packages load %d\\n\", pkgs.size);\n\n    Gtk.TreeIter citer;\n\n    for(var i =0 ; i < pkgs.size; i++) {\n         this.el.append(out citer);   \n         \n        this.el.set_value(citer, 0,   pkgs.get(i) ); // title \n        this.el.set_value(citer, 1,   items.contains(pkgs.get(i)) );\n    }\n    this.el.set_sort_column_id(0,Gtk.SortType.ASCENDING);\n    \n}\n",
              "$ columns" : "    typeof(string),  // 0 key type\n      typeof(bool)",
              "items" : [
               {
                "id" : "packages_render",
-               "xtype" : "CellRendererText",
                "* pack" : "pack_start,false",
+               "xtype" : "CellRendererText",
                "$ xns" : "Gtk"
               }
              ]
                 "toggled" : "(  path_string) =>  { \n    var m = _this.default_packages_tree_store.el;\n   Gtk.TreeIter iter;\n   Gtk.TreePath path = new Gtk.TreePath.from_string (path_string);\n   m.get_iter (out iter, path);\n   GLib.Value val;\n   m.get_value(iter, 1, out val);\n   m.set_value(iter, 1,  ((bool) val) ? false :true); \n     GLib.Value fval;  \n   m.get_value(iter, 0, out fval);\n   var fn = (string)fval;\n    \n    var def = _this.project.compilegroups.get(\"_default_\");\n    var items  = def.packages;\n    if ((bool)val) {\n        // renive\n        items.remove(fn);\n    } else {\n        items.add(fn);\n    }\n    \n}"
                },
                "id" : "packages_render_use",
-               "* pack" : "pack_start,false",
                "xtype" : "CellRendererToggle",
+               "* pack" : "pack_start,false",
                "$ xns" : "Gtk",
                "gboolean activatable" : true
               }
            "items" : [
             {
              "id" : "default_directory_tree_store",
-             "xtype" : "ListStore",
              "* pack" : "set_model",
+             "xtype" : "ListStore",
              "$ n_columns" : 1,
              "| void load" : "() {\n \n  this.el.clear();\n  \n    \n     var def = _this.project.compilegroups.get(\"_default_\");\n     var items  = def.sources;\n     \n \n    Gtk.TreeIter citer;\n\n    for(var i =0 ; i < items.size; i++) {\n         this.el.append(out citer);   \n         \n        this.el.set_value(citer, 0,   items.get(i) ); // title \n        //this.el.set_value(citer, 1,   items.get(i) );\n    }\n    this.el.set_sort_column_id(0,Gtk.SortType.ASCENDING);\n    \n}\n",
              "$ columns" : "    typeof(string)\n     ",
              "items" : [
               {
                "id" : "directory_render",
-               "xtype" : "CellRendererText",
                "* pack" : "pack_start,false",
+               "xtype" : "CellRendererText",
                "$ xns" : "Gtk"
               }
              ]
       },
       {
        "gint position" : 300,
-       "* pack" : "append_page,_this.label_targets.el",
        "xtype" : "HPaned",
+       "* pack" : "append_page,_this.label_targets.el",
        "$ xns" : "Gtk",
        "items" : [
         {
          "* init" : "{  \nthis.el.set_policy (Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC);\n\n}\n",
-         "* pack" : "add1",
          "xtype" : "ScrolledWindow",
+         "* pack" : "add1",
          "$ xns" : "Gtk",
          "items" : [
           {
            "id" : "targets_tree_menu",
-           "xtype" : "Menu",
            "* pack" : "add",
+           "xtype" : "Menu",
            "$ xns" : "Gtk",
            "items" : [
             {
            "items" : [
             {
              "id" : "targets_tree_store",
-             "* pack" : "set_model",
              "xtype" : "ListStore",
+             "* pack" : "set_model",
              "$ n_columns" : 2,
              "| void load" : "() {\n \n  this.el.clear();\n  \n    \n     var cg = _this.project.compilegroups;\n     \n   _this.targets_tree.cursor = \"\";\n    Gtk.TreeIter citer;\n    var iter = cg.map_iterator();\n   while(iter.next()) {\n        var key = iter.get_key();\n        if (key == \"_default_\") {\n            continue;\n        }\n    \n         this.el.append(out citer);   \n         \n        this.el.set_value(citer, 0,   key ); // title \n        //this.el.set_value(citer, 1,   items.get(i) );\n    };\n    this.el.set_sort_column_id(0,Gtk.SortType.ASCENDING);\n    _this.set_vbox.el.hide();\n}\n",
              "$ columns" : "    typeof(string),  // 0 key type\n     typeof(string) // ??\n     ",
                 "edited" : "  (path, newtext) => {\n     \n     Gtk.TreeIter  iter;\n        _this.targets_tree_store.el.get_iter(out iter, new Gtk.TreePath.from_string(path));\n       GLib.Value gval;\n        _this.targets_tree_store.el.get_value(iter,0, out gval);\n        var oldval = (string)gval;\n       if (oldval == newtext) {\n          return;\n        }\n         var cg = _this.project.compilegroups.get(oldval);\n        cg.name = newtext;\n        _this.project.compilegroups.unset(oldval);\n        _this.project.compilegroups.set(newtext, cg);\n       _this.targets_tree_store.load();\n  }"
                },
                "id" : "targets_render",
-               "* pack" : "pack_start,false",
                "xtype" : "CellRendererText",
+               "* pack" : "pack_start,false",
                "$ xns" : "Gtk",
                "gboolean editable" : true
               }
         },
         {
          "id" : "set_vbox",
-         "* pack" : "add2",
          "xtype" : "VBox",
+         "* pack" : "add2",
          "gboolean homogeneous" : false,
          "$ xns" : "Gtk",
          "# Project.GtkValaSettings cgroup" : "null",
             "changed" : "()  => {\n        if (_this.targets_tree.cursor.length < 1) {\n        return;\n    }\n    _this.project.compilegroups.get(_this.targets_tree.cursor).target_bin = this.el.text;\n}"
            },
            "id" : "build_pack_target",
-           "* pack" : "pack_start,false,false,0",
            "xtype" : "Entry",
+           "* pack" : "pack_start,false,false,0",
            "$ xns" : "Gtk"
           },
           {
             "changed" : "() => {\n    if (_this.targets_tree.cursor.length < 1) {\n        return;\n    }\n    _this.project.compilegroups.get(_this.targets_tree.cursor).compile_flags = this.el.text;\n}"
            },
            "id" : "build_compile_flags",
-           "* pack" : "pack_start,false,false,0",
            "xtype" : "Entry",
+           "* pack" : "pack_start,false,false,0",
            "$ xns" : "Gtk"
           },
           {
              "items" : [
               {
                "id" : "files_tree_store",
-               "* pack" : "set_model",
                "xtype" : "ListStore",
+               "* pack" : "set_model",
                "| void updateDir" : "(string dname, bool bval) {\n  \n  Gtk.TreeIter citer;\n\n    var cg =   _this.set_vbox.cgroup;\n  for(var i =0 ; i < this.el.iter_n_children(null); i++) {\n        this.el.iter_nth_child(out citer,null,i);\n\n        GLib.Value val;\n        this.el.get_value(citer,0, out val);\n        var fn = (string) val;\n        \n        if ( Path.get_dirname (fn) == dname) {\n        \n            this.el.set_value(citer, 3,   bval ); // checked \n           \n     \n     \n            if (!bval) {\n                // renive\n                if (cg.sources.contains(fn)) {\n                    cg.sources.remove(fn);\n                }\n            } else {\n                if (!cg.sources.contains(fn)) {\n                    cg.sources.add(fn);\n                }\n            }\n            \n            \n        }\n    }\n\n}\n",
                "$ n_columns" : 4,
                "| void load" : "() {\n \n      this.el.clear();\n  \n    \n     var def = _this.project.compilegroups.get(\"_default_\");\n     var items  = def.sources;\n     \n     \n     \n     \n \n    Gtk.TreeIter citer;\n\n    for(var i =0 ; i < items.size; i++) {\n    \n         var files = _this.project.files(items.get(i));\n         if (files.size < 1) {\n            continue;\n         }\n    \n         this.el.append(out citer);   \n         \n        this.el.set_value(citer, 0,   items.get(i) ); // title \n        this.el.set_value(citer, 1,   \"<span foreground=\\\"green\\\" font_weight=\\\"bold\\\">\" + \n                    GLib.Markup.escape_text(items.get(i)) + \"</span>\"\n            ); // title \n        print(\"ADD item %s\", items.get(i));\n        this.el.set_value(citer, 2,   \"dir\"); // type         \n        this.el.set_value(citer, 3,   false ); // checked \n\n       \n        \n         for(var j =0 ; j < files.size; j++) {\n            this.el.append(out citer);   \n             print(\"ADD item %s\", files.get(j));\n            this.el.set_value(citer, 0,   files.get(j) ); // title \n            this.el.set_value(citer, 1,   GLib.Markup.escape_text( Path.get_basename (files.get(j))) ); // title             \n            this.el.set_value(citer, 2,   \"file\"); // type         \n            this.el.set_value(citer, 3,   false ); // checked \n\n        }\n        \n        \n        //this.el.set_value(citer, 1,   items.get(i) );\n    }\n    this.el.set_sort_column_id(0,Gtk.SortType.ASCENDING);\n    \n}\n ",
                "items" : [
                 {
                  "id" : "files_render",
-                 "xtype" : "CellRendererText",
                  "* pack" : "pack_start,false",
+                 "xtype" : "CellRendererText",
                  "$ xns" : "Gtk"
                 }
                ]
                   "toggled" : "(  path_string) =>  { \n\n\n\n    var m = _this.files_tree_store.el;\n   Gtk.TreeIter iter;\n   Gtk.TreePath path = new Gtk.TreePath.from_string (path_string);\n   m.get_iter (out iter, path);\n   GLib.Value val;\n   m.get_value(iter, 3, out val);\n   m.set_value(iter, 3,  ((bool) val) ? false :true); \n   \n   // type.\n   GLib.Value ftval;  \n   m.get_value(iter, 2, out ftval);\n   var ftype = (string)ftval;   \n   \n   // full name...  \n   GLib.Value fval;     \n   m.get_value(iter, 0, out fval);\n   var fn = (string)fval;\n    \n    \n    var cg =   _this.set_vbox.cgroup;\n    // what's the sleected target?\n    // update the list..\n    // if ftype is a dir == then toggle all the bellow.\n    \n    if (ftype == \"dir\") {\n        _this.files_tree_store.updateDir(fn,  ((bool) val) ? false :true);\n    }\n    \n    // if ftype is a file .. see if all the files in that directory are check and check the dir.\n\n     \n    if ((bool)val) {\n        // renive\n        cg.sources.remove(fn);\n    } else {\n        cg.sources.add(fn);\n    }\n    \n}"
                  },
                  "id" : "files_render_use",
-                 "* pack" : "pack_start,false",
                  "xtype" : "CellRendererToggle",
+                 "* pack" : "pack_start,false",
                  "$ xns" : "Gtk",
                  "gboolean activatable" : true
                 }
index 15ed21b..9d1f464 100644 (file)
@@ -96,7 +96,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_HPaned27( _this );
+            var child_3 = new Xcls_HPaned28( _this );
             child_3.ref();
             this.el.append_page (  child_3.el , _this.label_targets.el );
         }
@@ -173,15 +173,18 @@ public class ValaProjectSettings : Object
             var child_2 = new Xcls_Label8( _this );
             child_2.ref();
             this.el.pack_start (  child_2.el , false,false,0 );
-            var child_3 = new Xcls_ScrolledWindow9( _this );
+            var child_3 = new Xcls_HBox9( _this );
             child_3.ref();
             this.el.pack_start (  child_3.el , true,true,0 );
-            var child_4 = new Xcls_Label16( _this );
+            var child_4 = new Xcls_ScrolledWindow10( _this );
             child_4.ref();
-            this.el.pack_start (  child_4.el , false,false,0 );
-            var child_5 = new Xcls_ScrolledWindow17( _this );
+            this.el.pack_start (  child_4.el , true,true,0 );
+            var child_5 = new Xcls_Label17( _this );
             child_5.ref();
-            this.el.pack_start (  child_5.el , true,true,0 );
+            this.el.pack_start (  child_5.el , false,false,0 );
+            var child_6 = new Xcls_ScrolledWindow18( _this );
+            child_6.ref();
+            this.el.pack_start (  child_6.el , true,true,0 );
         }
 
         // user defined functions 
@@ -260,7 +263,28 @@ public class ValaProjectSettings : Object
 
         // user defined functions 
     }
-    public class Xcls_ScrolledWindow9 : Object 
+    public class Xcls_HBox9 : Object 
+    {
+        public Gtk.HBox el;
+        private ValaProjectSettings  _this;
+
+
+            // my vars (def)
+
+        // ctor 
+        public Xcls_HBox9(ValaProjectSettings _owner )
+        {
+            _this = _owner;
+            this.el = new Gtk.HBox( true, 0 );
+
+            // my vars (dec)
+
+            // set gobject values
+        }
+
+        // user defined functions 
+    }
+    public class Xcls_ScrolledWindow10 : Object 
     {
         public Gtk.ScrolledWindow el;
         private ValaProjectSettings  _this;
@@ -269,7 +293,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_ScrolledWindow9(ValaProjectSettings _owner )
+        public Xcls_ScrolledWindow10(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.ScrolledWindow( null, null );
@@ -305,10 +329,10 @@ public class ValaProjectSettings : Object
             var child_0 = new Xcls_default_packages_tree_store( _this );
             child_0.ref();
             this.el.set_model (  child_0.el  );
-            var child_1 = new Xcls_TreeViewColumn12( _this );
+            var child_1 = new Xcls_TreeViewColumn13( _this );
             child_1.ref();
             this.el.append_column (  child_1.el  );
-            var child_2 = new Xcls_TreeViewColumn14( _this );
+            var child_2 = new Xcls_TreeViewColumn15( _this );
             child_2.ref();
             this.el.append_column (  child_2.el  );
         }
@@ -359,7 +383,7 @@ public class ValaProjectSettings : Object
             
         }
     }
-    public class Xcls_TreeViewColumn12 : Object 
+    public class Xcls_TreeViewColumn13 : Object 
     {
         public Gtk.TreeViewColumn el;
         private ValaProjectSettings  _this;
@@ -368,7 +392,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_TreeViewColumn12(ValaProjectSettings _owner )
+        public Xcls_TreeViewColumn13(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.TreeViewColumn();
@@ -412,7 +436,7 @@ public class ValaProjectSettings : Object
 
         // user defined functions 
     }
-    public class Xcls_TreeViewColumn14 : Object 
+    public class Xcls_TreeViewColumn15 : Object 
     {
         public Gtk.TreeViewColumn el;
         private ValaProjectSettings  _this;
@@ -421,7 +445,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_TreeViewColumn14(ValaProjectSettings _owner )
+        public Xcls_TreeViewColumn15(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.TreeViewColumn();
@@ -492,7 +516,7 @@ public class ValaProjectSettings : Object
 
         // user defined functions 
     }
-    public class Xcls_Label16 : Object 
+    public class Xcls_Label17 : Object 
     {
         public Gtk.Label el;
         private ValaProjectSettings  _this;
@@ -501,7 +525,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( "Available Directories" );
@@ -513,7 +537,7 @@ public class ValaProjectSettings : Object
 
         // user defined functions 
     }
-    public class Xcls_ScrolledWindow17 : Object 
+    public class Xcls_ScrolledWindow18 : Object 
     {
         public Gtk.ScrolledWindow el;
         private ValaProjectSettings  _this;
@@ -522,7 +546,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_ScrolledWindow17(ValaProjectSettings _owner )
+        public Xcls_ScrolledWindow18(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.ScrolledWindow( null, null );
@@ -561,7 +585,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_TreeViewColumn20( _this );
+            var child_1 = new Xcls_TreeViewColumn21( _this );
             child_1.ref();
             this.el.append_column (  child_1.el  );
 
@@ -638,7 +662,7 @@ public class ValaProjectSettings : Object
             
         }
     }
-    public class Xcls_TreeViewColumn20 : Object 
+    public class Xcls_TreeViewColumn21 : Object 
     {
         public Gtk.TreeViewColumn el;
         private ValaProjectSettings  _this;
@@ -647,7 +671,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_TreeViewColumn20(ValaProjectSettings _owner )
+        public Xcls_TreeViewColumn21(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.TreeViewColumn();
@@ -708,23 +732,23 @@ public class ValaProjectSettings : Object
             // my vars (dec)
 
             // set gobject values
-            var child_0 = new Xcls_MenuItem23( _this );
+            var child_0 = new Xcls_MenuItem24( _this );
             child_0.ref();
             this.el.add (  child_0.el  );
-            var child_1 = new Xcls_MenuItem24( _this );
+            var child_1 = new Xcls_MenuItem25( _this );
             child_1.ref();
             this.el.add (  child_1.el  );
-            var child_2 = new Xcls_SeparatorMenuItem25( _this );
+            var child_2 = new Xcls_SeparatorMenuItem26( _this );
             child_2.ref();
             this.el.add (  child_2.el  );
-            var child_3 = new Xcls_MenuItem26( _this );
+            var child_3 = new Xcls_MenuItem27( _this );
             child_3.ref();
             this.el.add (  child_3.el  );
         }
 
         // user defined functions 
     }
-    public class Xcls_MenuItem23 : Object 
+    public class Xcls_MenuItem24 : Object 
     {
         public Gtk.MenuItem el;
         private ValaProjectSettings  _this;
@@ -733,7 +757,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_MenuItem23(ValaProjectSettings _owner )
+        public Xcls_MenuItem24(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.MenuItem();
@@ -766,7 +790,7 @@ public class ValaProjectSettings : Object
 
         // user defined functions 
     }
-    public class Xcls_MenuItem24 : Object 
+    public class Xcls_MenuItem25 : Object 
     {
         public Gtk.MenuItem el;
         private ValaProjectSettings  _this;
@@ -775,7 +799,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_MenuItem24(ValaProjectSettings _owner )
+        public Xcls_MenuItem25(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.MenuItem();
@@ -808,7 +832,7 @@ public class ValaProjectSettings : Object
 
         // user defined functions 
     }
-    public class Xcls_SeparatorMenuItem25 : Object 
+    public class Xcls_SeparatorMenuItem26 : Object 
     {
         public Gtk.SeparatorMenuItem el;
         private ValaProjectSettings  _this;
@@ -817,7 +841,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_SeparatorMenuItem25(ValaProjectSettings _owner )
+        public Xcls_SeparatorMenuItem26(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.SeparatorMenuItem();
@@ -829,7 +853,7 @@ public class ValaProjectSettings : Object
 
         // user defined functions 
     }
-    public class Xcls_MenuItem26 : Object 
+    public class Xcls_MenuItem27 : Object 
     {
         public Gtk.MenuItem el;
         private ValaProjectSettings  _this;
@@ -838,7 +862,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_MenuItem26(ValaProjectSettings _owner )
+        public Xcls_MenuItem27(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.MenuItem();
@@ -877,7 +901,7 @@ public class ValaProjectSettings : Object
 
         // user defined functions 
     }
-    public class Xcls_HPaned27 : Object 
+    public class Xcls_HPaned28 : Object 
     {
         public Gtk.HPaned el;
         private ValaProjectSettings  _this;
@@ -886,7 +910,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_HPaned27(ValaProjectSettings _owner )
+        public Xcls_HPaned28(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.HPaned();
@@ -895,7 +919,7 @@ public class ValaProjectSettings : Object
 
             // set gobject values
             this.el.position = 300;
-            var child_0 = new Xcls_ScrolledWindow28( _this );
+            var child_0 = new Xcls_ScrolledWindow29( _this );
             child_0.ref();
             this.el.add1 (  child_0.el  );
             var child_1 = new Xcls_set_vbox( _this );
@@ -905,7 +929,7 @@ public class ValaProjectSettings : Object
 
         // user defined functions 
     }
-    public class Xcls_ScrolledWindow28 : Object 
+    public class Xcls_ScrolledWindow29 : Object 
     {
         public Gtk.ScrolledWindow el;
         private ValaProjectSettings  _this;
@@ -914,7 +938,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_ScrolledWindow28(ValaProjectSettings _owner )
+        public Xcls_ScrolledWindow29(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.ScrolledWindow( null, null );
@@ -957,20 +981,20 @@ public class ValaProjectSettings : Object
             // my vars (dec)
 
             // set gobject values
-            var child_0 = new Xcls_MenuItem30( _this );
+            var child_0 = new Xcls_MenuItem31( _this );
             child_0.ref();
             this.el.add (  child_0.el  );
-            var child_1 = new Xcls_SeparatorMenuItem31( _this );
+            var child_1 = new Xcls_SeparatorMenuItem32( _this );
             child_1.ref();
             this.el.add (  child_1.el  );
-            var child_2 = new Xcls_MenuItem32( _this );
+            var child_2 = new Xcls_MenuItem33( _this );
             child_2.ref();
             this.el.add (  child_2.el  );
         }
 
         // user defined functions 
     }
-    public class Xcls_MenuItem30 : Object 
+    public class Xcls_MenuItem31 : Object 
     {
         public Gtk.MenuItem el;
         private ValaProjectSettings  _this;
@@ -979,7 +1003,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_MenuItem30(ValaProjectSettings _owner )
+        public Xcls_MenuItem31(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.MenuItem();
@@ -1005,7 +1029,7 @@ public class ValaProjectSettings : Object
 
         // user defined functions 
     }
-    public class Xcls_SeparatorMenuItem31 : Object 
+    public class Xcls_SeparatorMenuItem32 : Object 
     {
         public Gtk.SeparatorMenuItem el;
         private ValaProjectSettings  _this;
@@ -1014,7 +1038,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_SeparatorMenuItem31(ValaProjectSettings _owner )
+        public Xcls_SeparatorMenuItem32(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.SeparatorMenuItem();
@@ -1026,7 +1050,7 @@ public class ValaProjectSettings : Object
 
         // user defined functions 
     }
-    public class Xcls_MenuItem32 : Object 
+    public class Xcls_MenuItem33 : Object 
     {
         public Gtk.MenuItem el;
         private ValaProjectSettings  _this;
@@ -1035,7 +1059,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_MenuItem32(ValaProjectSettings _owner )
+        public Xcls_MenuItem33(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.MenuItem();
@@ -1096,7 +1120,7 @@ public class ValaProjectSettings : Object
             var child_0 = new Xcls_targets_tree_store( _this );
             child_0.ref();
             this.el.set_model (  child_0.el  );
-            var child_1 = new Xcls_TreeViewColumn35( _this );
+            var child_1 = new Xcls_TreeViewColumn36( _this );
             child_1.ref();
             this.el.append_column (  child_1.el  );
 
@@ -1216,7 +1240,7 @@ public class ValaProjectSettings : Object
             _this.set_vbox.el.hide();
         }
     }
-    public class Xcls_TreeViewColumn35 : Object 
+    public class Xcls_TreeViewColumn36 : Object 
     {
         public Gtk.TreeViewColumn el;
         private ValaProjectSettings  _this;
@@ -1225,7 +1249,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_TreeViewColumn35(ValaProjectSettings _owner )
+        public Xcls_TreeViewColumn36(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.TreeViewColumn();
@@ -1309,29 +1333,29 @@ public class ValaProjectSettings : Object
             this.cgroup = null;
 
             // set gobject values
-            var child_0 = new Xcls_Label38( _this );
+            var child_0 = new Xcls_Label39( _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_Label40( _this );
+            var child_2 = new Xcls_Label41( _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_Label42( _this );
+            var child_4 = new Xcls_Label43( _this );
             child_4.ref();
             this.el.pack_start (  child_4.el , false,false,0 );
-            var child_5 = new Xcls_ScrolledWindow43( _this );
+            var child_5 = new Xcls_ScrolledWindow44( _this );
             child_5.ref();
             this.el.pack_start (  child_5.el , true,true,0 );
         }
 
         // user defined functions 
     }
-    public class Xcls_Label38 : Object 
+    public class Xcls_Label39 : Object 
     {
         public Gtk.Label el;
         private ValaProjectSettings  _this;
@@ -1340,7 +1364,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_Label38(ValaProjectSettings _owner )
+        public Xcls_Label39(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.Label( "target filename" );
@@ -1382,7 +1406,7 @@ public class ValaProjectSettings : Object
 
         // user defined functions 
     }
-    public class Xcls_Label40 : Object 
+    public class Xcls_Label41 : Object 
     {
         public Gtk.Label el;
         private ValaProjectSettings  _this;
@@ -1391,7 +1415,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_Label40(ValaProjectSettings _owner )
+        public Xcls_Label41(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.Label( "compile flags" );
@@ -1433,7 +1457,7 @@ public class ValaProjectSettings : Object
 
         // user defined functions 
     }
-    public class Xcls_Label42 : Object 
+    public class Xcls_Label43 : Object 
     {
         public Gtk.Label el;
         private ValaProjectSettings  _this;
@@ -1442,7 +1466,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_Label42(ValaProjectSettings _owner )
+        public Xcls_Label43(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.Label( "Files to compile" );
@@ -1454,7 +1478,7 @@ public class ValaProjectSettings : Object
 
         // user defined functions 
     }
-    public class Xcls_ScrolledWindow43 : Object 
+    public class Xcls_ScrolledWindow44 : Object 
     {
         public Gtk.ScrolledWindow el;
         private ValaProjectSettings  _this;
@@ -1463,7 +1487,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_ScrolledWindow43(ValaProjectSettings _owner )
+        public Xcls_ScrolledWindow44(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.ScrolledWindow( null, null );
@@ -1498,10 +1522,10 @@ public class ValaProjectSettings : Object
             var child_0 = new Xcls_files_tree_store( _this );
             child_0.ref();
             this.el.set_model (  child_0.el  );
-            var child_1 = new Xcls_TreeViewColumn46( _this );
+            var child_1 = new Xcls_TreeViewColumn47( _this );
             child_1.ref();
             this.el.append_column (  child_1.el  );
-            var child_2 = new Xcls_TreeViewColumn48( _this );
+            var child_2 = new Xcls_TreeViewColumn49( _this );
             child_2.ref();
             this.el.append_column (  child_2.el  );
         }
@@ -1639,7 +1663,7 @@ public class ValaProjectSettings : Object
         
         }
     }
-    public class Xcls_TreeViewColumn46 : Object 
+    public class Xcls_TreeViewColumn47 : Object 
     {
         public Gtk.TreeViewColumn el;
         private ValaProjectSettings  _this;
@@ -1648,7 +1672,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_TreeViewColumn46(ValaProjectSettings _owner )
+        public Xcls_TreeViewColumn47(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.TreeViewColumn();
@@ -1694,7 +1718,7 @@ public class ValaProjectSettings : Object
 
         // user defined functions 
     }
-    public class Xcls_TreeViewColumn48 : Object 
+    public class Xcls_TreeViewColumn49 : Object 
     {
         public Gtk.TreeViewColumn el;
         private ValaProjectSettings  _this;
@@ -1703,7 +1727,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_TreeViewColumn48(ValaProjectSettings _owner )
+        public Xcls_TreeViewColumn49(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.TreeViewColumn();