src/Builder4/ValaProjectSettings.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 20 May 2015 10:37:46 +0000 (18:37 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 20 May 2015 10:37:46 +0000 (18:37 +0800)
src/Builder4/ValaProjectSettings.vala

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

index 9816420..ffc1810 100644 (file)
      "items" : [
       {
        "id" : "label_global",
-       "xtype" : "Label",
        "* pack" : false,
+       "xtype" : "Label",
        "$ xns" : "Gtk",
        "utf8 label" : "Global"
       },
       {
        "id" : "label_targets",
-       "* pack" : false,
        "xtype" : "Label",
+       "* pack" : false,
        "$ xns" : "Gtk",
        "utf8 label" : "Targets"
       },
@@ -54,8 +54,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",
-         "xtype" : "Entry",
          "* pack" : "pack_start,false,false,0",
+         "xtype" : "Entry",
          "$ xns" : "Gtk",
          "utf8 placeholder_text" : "eg. -g --valasrc $BASEDIR "
         },
            "items" : [
             {
              "gboolean headers_visible" : true,
-             "* pack" : "add",
              "xtype" : "TreeView",
+             "* pack" : "add",
              "string id" : "default_packages_tree",
              "$ xns" : "Gtk",
              "items" : [
               {
                "id" : "default_packages_tree_store",
-               "* pack" : "set_model",
                "xtype" : "ListStore",
+               "* pack" : "set_model",
                "$ 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)",
@@ -97,8 +97,8 @@
                "items" : [
                 {
                  "id" : "packages_render",
-                 "* pack" : "pack_start,false",
                  "xtype" : "CellRendererText",
+                 "* pack" : "pack_start,false",
                  "$ 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",
-                 "xtype" : "CellRendererToggle",
                  "* pack" : "pack_start,false",
+                 "xtype" : "CellRendererToggle",
                  "$ xns" : "Gtk",
                  "gboolean activatable" : true
                 }
              "items" : [
               {
                "id" : "default_directory_tree_store",
-               "* pack" : "set_model",
                "xtype" : "ListStore",
+               "* pack" : "set_model",
                "$ 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",
-                 "* pack" : "pack_start,false",
                  "xtype" : "CellRendererText",
+                 "* pack" : "pack_start,false",
                  "$ xns" : "Gtk"
                 }
                ]
       },
       {
        "gint position" : 300,
-       "xtype" : "HPaned",
        "* pack" : "append_page,_this.label_targets.el",
+       "xtype" : "Paned",
        "$ xns" : "Gtk",
+       "Gtk.Orientation orientation" : "Gtk.Orientation.HORIZONTAL",
        "items" : [
         {
          "* init" : "{  \nthis.el.set_policy (Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC);\n\n}\n",
-         "xtype" : "ScrolledWindow",
          "* pack" : "add1",
+         "xtype" : "ScrolledWindow",
          "$ xns" : "Gtk",
          "items" : [
           {
            "id" : "targets_tree_menu",
-           "* pack" : "add",
            "xtype" : "Menu",
+           "* pack" : "add",
            "$ xns" : "Gtk",
            "items" : [
             {
            "items" : [
             {
              "id" : "targets_tree_store",
-             "xtype" : "ListStore",
              "* pack" : "set_model",
+             "xtype" : "ListStore",
              "$ 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",
-               "xtype" : "CellRendererText",
                "* pack" : "pack_start,false",
+               "xtype" : "CellRendererText",
                "$ xns" : "Gtk",
                "gboolean editable" : true
               }
         },
         {
          "id" : "set_vbox",
-         "xtype" : "VBox",
          "* pack" : "add2",
+         "xtype" : "VBox",
          "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",
-           "xtype" : "Entry",
            "* pack" : "pack_start,false,false,0",
+           "xtype" : "Entry",
            "$ 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",
-           "xtype" : "Entry",
            "* pack" : "pack_start,false,false,0",
+           "xtype" : "Entry",
            "$ xns" : "Gtk"
           },
           {
              "items" : [
               {
                "id" : "files_tree_store",
-               "xtype" : "ListStore",
                "* pack" : "set_model",
+               "xtype" : "ListStore",
                "| 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",
-                 "* pack" : "pack_start,false",
                  "xtype" : "CellRendererText",
+                 "* pack" : "pack_start,false",
                  "$ 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",
-                 "xtype" : "CellRendererToggle",
                  "* pack" : "pack_start,false",
+                 "xtype" : "CellRendererToggle",
                  "$ xns" : "Gtk",
                  "gboolean activatable" : true
                 }
index ff6b95a..b165e9f 100644 (file)
@@ -1,6 +1,6 @@
 static ValaProjectSettings  _ValaProjectSettings;
 
-public class ValaProjectSettings : Object 
+public class ValaProjectSettings : Object
 {
     public Gtk.Box el;
     private ValaProjectSettings  _this;
@@ -37,7 +37,7 @@ public class ValaProjectSettings : Object
     public Project.Gtk project;
     public Xcls_MainWindow window;
 
-    // ctor 
+    // ctor
     public ValaProjectSettings()
     {
         _this = this;
@@ -53,7 +53,7 @@ public class ValaProjectSettings : Object
         this.el.pack_start (  child_0.el , true,true,0 );
     }
 
-    // user defined functions 
+    // user defined functions
     public void show (Project.Gtk project) {
         
         
@@ -72,7 +72,7 @@ public class ValaProjectSettings : Object
     public void save ()  {
         this.project.writeConfig();
     }
-    public class Xcls_Notebook2 : Object 
+    public class Xcls_Notebook2 : Object
     {
         public Gtk.Notebook el;
         private ValaProjectSettings  _this;
@@ -80,7 +80,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_Notebook2(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -96,14 +96,14 @@ public class ValaProjectSettings : Object
             var child_2 = new Xcls_Box5( _this );
             child_2.ref();
             this.el.append_page (  child_2.el , _this.label_global.el );
-            var child_3 = new Xcls_HPaned26( _this );
+            var child_3 = new Xcls_Paned26( _this );
             child_3.ref();
             this.el.append_page (  child_3.el , _this.label_targets.el );
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_label_global : Object 
+    public class Xcls_label_global : Object
     {
         public Gtk.Label el;
         private ValaProjectSettings  _this;
@@ -111,7 +111,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_label_global(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -123,9 +123,10 @@ public class ValaProjectSettings : Object
             // set gobject values
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_label_targets : Object 
+
+    public class Xcls_label_targets : Object
     {
         public Gtk.Label el;
         private ValaProjectSettings  _this;
@@ -133,7 +134,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_label_targets(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -145,9 +146,10 @@ public class ValaProjectSettings : Object
             // set gobject values
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_Box5 : Object 
+
+    public class Xcls_Box5 : Object
     {
         public Gtk.Box el;
         private ValaProjectSettings  _this;
@@ -155,7 +157,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_Box5(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -176,9 +178,9 @@ public class ValaProjectSettings : Object
             this.el.pack_start (  child_2.el , true,true,0 );
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_Label6 : Object 
+    public class Xcls_Label6 : Object
     {
         public Gtk.Label el;
         private ValaProjectSettings  _this;
@@ -186,7 +188,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_Label6(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -197,9 +199,10 @@ public class ValaProjectSettings : Object
             // set gobject values
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_compile_flags : Object 
+
+    public class Xcls_compile_flags : Object
     {
         public Gtk.Entry el;
         private ValaProjectSettings  _this;
@@ -207,7 +210,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_compile_flags(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -219,7 +222,7 @@ public class ValaProjectSettings : Object
             // set gobject values
             this.el.placeholder_text = "eg. -g --valasrc $BASEDIR ";
 
-            // listeners 
+            //listeners
             this.el.changed.connect( () => {
                 
                _this.project.compilegroups.get("_default_").compile_flags = this.el.text;
@@ -229,9 +232,10 @@ public class ValaProjectSettings : Object
             });
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_Box8 : Object 
+
+    public class Xcls_Box8 : Object
     {
         public Gtk.Box el;
         private ValaProjectSettings  _this;
@@ -239,7 +243,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_Box8(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -256,9 +260,9 @@ public class ValaProjectSettings : Object
             this.el.add (  child_1.el  );
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_ScrolledWindow9 : Object 
+    public class Xcls_ScrolledWindow9 : Object
     {
         public Gtk.ScrolledWindow el;
         private ValaProjectSettings  _this;
@@ -266,7 +270,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_ScrolledWindow9(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -280,9 +284,9 @@ public class ValaProjectSettings : Object
             this.el.add (  child_0.el  );
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_default_packages_tree : Object 
+    public class Xcls_default_packages_tree : Object
     {
         public Gtk.TreeView el;
         private ValaProjectSettings  _this;
@@ -290,7 +294,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_default_packages_tree(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -311,9 +315,9 @@ public class ValaProjectSettings : Object
             this.el.append_column (  child_2.el  );
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_default_packages_tree_store : Object 
+    public class Xcls_default_packages_tree_store : Object
     {
         public Gtk.ListStore el;
         private ValaProjectSettings  _this;
@@ -321,7 +325,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_default_packages_tree_store(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -334,7 +338,7 @@ public class ValaProjectSettings : Object
             // set gobject values
         }
 
-        // user defined functions 
+        // user defined functions
         public void load () {
          
             var def = _this.project.compilegroups.get("_default_");
@@ -357,7 +361,8 @@ public class ValaProjectSettings : Object
             
         }
     }
-    public class Xcls_TreeViewColumn12 : Object 
+
+    public class Xcls_TreeViewColumn12 : Object
     {
         public Gtk.TreeViewColumn el;
         private ValaProjectSettings  _this;
@@ -365,7 +370,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_TreeViewColumn12(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -381,14 +386,14 @@ public class ValaProjectSettings : Object
             child_0.ref();
             this.el.pack_start (  child_0.el , false );
 
-            // init method 
+            // init method
 
             this.el.add_attribute(_this.packages_render.el , "text", 0 );
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_packages_render : Object 
+    public class Xcls_packages_render : Object
     {
         public Gtk.CellRendererText el;
         private ValaProjectSettings  _this;
@@ -396,7 +401,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_packages_render(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -408,9 +413,11 @@ public class ValaProjectSettings : Object
             // set gobject values
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_TreeViewColumn14 : Object 
+
+
+    public class Xcls_TreeViewColumn14 : Object
     {
         public Gtk.TreeViewColumn el;
         private ValaProjectSettings  _this;
@@ -418,7 +425,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_TreeViewColumn14(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -434,16 +441,16 @@ public class ValaProjectSettings : Object
             child_0.ref();
             this.el.pack_start (  child_0.el , false );
 
-            // init method 
+            // init method
 
             {
              this.el.add_attribute(_this.packages_render_use.el , "active", 1 );
              }
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_packages_render_use : Object 
+    public class Xcls_packages_render_use : Object
     {
         public Gtk.CellRendererToggle el;
         private ValaProjectSettings  _this;
@@ -451,7 +458,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_packages_render_use(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -463,7 +470,7 @@ public class ValaProjectSettings : Object
             // set gobject values
             this.el.activatable = true;
 
-            // listeners 
+            //listeners
             this.el.toggled.connect( (  path_string) =>  { 
                 var m = _this.default_packages_tree_store.el;
                Gtk.TreeIter iter;
@@ -488,9 +495,13 @@ public class ValaProjectSettings : Object
             });
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_ScrolledWindow16 : Object 
+
+
+
+
+    public class Xcls_ScrolledWindow16 : Object
     {
         public Gtk.ScrolledWindow el;
         private ValaProjectSettings  _this;
@@ -498,7 +509,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_ScrolledWindow16(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -514,9 +525,9 @@ public class ValaProjectSettings : Object
             child_1.ref();
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_default_directory_tree : Object 
+    public class Xcls_default_directory_tree : Object
     {
         public Gtk.TreeView el;
         private ValaProjectSettings  _this;
@@ -524,7 +535,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_default_directory_tree(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -542,7 +553,7 @@ public class ValaProjectSettings : Object
             child_1.ref();
             this.el.append_column (  child_1.el  );
 
-            // listeners 
+            //listeners
             this.el.button_press_event.connect( ( ev) => {
                 //console.log("button press?");
                
@@ -570,9 +581,9 @@ public class ValaProjectSettings : Object
             });
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_default_directory_tree_store : Object 
+    public class Xcls_default_directory_tree_store : Object
     {
         public Gtk.ListStore el;
         private ValaProjectSettings  _this;
@@ -580,7 +591,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_default_directory_tree_store(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -593,7 +604,7 @@ public class ValaProjectSettings : Object
             // set gobject values
         }
 
-        // user defined functions 
+        // user defined functions
         public void load () {
          
           this.el.clear();
@@ -615,7 +626,8 @@ public class ValaProjectSettings : Object
             
         }
     }
-    public class Xcls_TreeViewColumn19 : Object 
+
+    public class Xcls_TreeViewColumn19 : Object
     {
         public Gtk.TreeViewColumn el;
         private ValaProjectSettings  _this;
@@ -623,7 +635,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_TreeViewColumn19(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -638,14 +650,14 @@ public class ValaProjectSettings : Object
             child_0.ref();
             this.el.pack_start (  child_0.el , false );
 
-            // init method 
+            // init method
 
             this.el.add_attribute(_this.directory_render.el , "text", 0 );
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_directory_render : Object 
+    public class Xcls_directory_render : Object
     {
         public Gtk.CellRendererText el;
         private ValaProjectSettings  _this;
@@ -653,7 +665,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_directory_render(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -665,9 +677,12 @@ public class ValaProjectSettings : Object
             // set gobject values
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_default_directory_menu : Object 
+
+
+
+    public class Xcls_default_directory_menu : Object
     {
         public Gtk.Menu el;
         private ValaProjectSettings  _this;
@@ -675,7 +690,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_default_directory_menu(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -699,9 +714,9 @@ public class ValaProjectSettings : Object
             this.el.add (  child_3.el  );
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_MenuItem22 : Object 
+    public class Xcls_MenuItem22 : Object
     {
         public Gtk.MenuItem el;
         private ValaProjectSettings  _this;
@@ -709,7 +724,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_MenuItem22(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -720,7 +735,7 @@ public class ValaProjectSettings : Object
             // set gobject values
             this.el.label = "Add Directory";
 
-            // listeners 
+            //listeners
             this.el.activate.connect( ()  => {
                 
                 var  chooser = new Gtk.FileChooserDialog (
@@ -741,9 +756,10 @@ public class ValaProjectSettings : Object
             });
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_MenuItem23 : Object 
+
+    public class Xcls_MenuItem23 : Object
     {
         public Gtk.MenuItem el;
         private ValaProjectSettings  _this;
@@ -751,7 +767,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_MenuItem23(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -762,7 +778,7 @@ public class ValaProjectSettings : Object
             // set gobject values
             this.el.label = "Add File";
 
-            // listeners 
+            //listeners
             this.el.activate.connect( ()  => {
                 
                 var  chooser = new Gtk.FileChooserDialog (
@@ -783,9 +799,10 @@ public class ValaProjectSettings : Object
             });
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_SeparatorMenuItem24 : Object 
+
+    public class Xcls_SeparatorMenuItem24 : Object
     {
         public Gtk.SeparatorMenuItem el;
         private ValaProjectSettings  _this;
@@ -793,7 +810,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_SeparatorMenuItem24(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -804,9 +821,10 @@ public class ValaProjectSettings : Object
             // set gobject values
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_MenuItem25 : Object 
+
+    public class Xcls_MenuItem25 : Object
     {
         public Gtk.MenuItem el;
         private ValaProjectSettings  _this;
@@ -814,7 +832,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_MenuItem25(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -825,7 +843,7 @@ public class ValaProjectSettings : Object
             // set gobject values
             this.el.label = "Remove File/Directory";
 
-            // listeners 
+            //listeners
             this.el.activate.connect( ()  => {
                 
                  //
@@ -852,21 +870,26 @@ public class ValaProjectSettings : Object
             });
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_HPaned26 : Object 
+
+
+
+
+
+    public class Xcls_Paned26 : Object
     {
-        public Gtk.HPaned el;
+        public Gtk.Paned el;
         private ValaProjectSettings  _this;
 
 
             // my vars (def)
 
-        // ctor 
-        public Xcls_HPaned26(ValaProjectSettings _owner )
+        // ctor
+        public Xcls_Paned26(ValaProjectSettings _owner )
         {
             _this = _owner;
-            this.el = new Gtk.HPaned();
+            this.el = new Gtk.Paned( Gtk.Orientation.HORIZONTAL );
 
             // my vars (dec)
 
@@ -880,9 +903,9 @@ public class ValaProjectSettings : Object
             this.el.add2 (  child_1.el  );
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_ScrolledWindow27 : Object 
+    public class Xcls_ScrolledWindow27 : Object
     {
         public Gtk.ScrolledWindow el;
         private ValaProjectSettings  _this;
@@ -890,7 +913,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_ScrolledWindow27(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -906,7 +929,7 @@ public class ValaProjectSettings : Object
             child_1.ref();
             this.el.add (  child_1.el  );
 
-            // init method 
+            // init method
 
             {  
             this.el.set_policy (Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC);
@@ -914,9 +937,9 @@ public class ValaProjectSettings : Object
             }
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_targets_tree_menu : Object 
+    public class Xcls_targets_tree_menu : Object
     {
         public Gtk.Menu el;
         private ValaProjectSettings  _this;
@@ -924,7 +947,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_targets_tree_menu(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -945,9 +968,9 @@ public class ValaProjectSettings : Object
             this.el.add (  child_2.el  );
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_MenuItem29 : Object 
+    public class Xcls_MenuItem29 : Object
     {
         public Gtk.MenuItem el;
         private ValaProjectSettings  _this;
@@ -955,7 +978,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_MenuItem29(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -966,7 +989,7 @@ public class ValaProjectSettings : Object
             // set gobject values
             this.el.label = "Add Compile Target";
 
-            // listeners 
+            //listeners
             this.el.activate.connect( ()  => {
                 
                    if (_this.project.compilegroups.has_key("NEW GROUP")) {
@@ -980,9 +1003,10 @@ public class ValaProjectSettings : Object
             });
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_SeparatorMenuItem30 : Object 
+
+    public class Xcls_SeparatorMenuItem30 : Object
     {
         public Gtk.SeparatorMenuItem el;
         private ValaProjectSettings  _this;
@@ -990,7 +1014,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_SeparatorMenuItem30(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -1001,9 +1025,10 @@ public class ValaProjectSettings : Object
             // set gobject values
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_MenuItem31 : Object 
+
+    public class Xcls_MenuItem31 : Object
     {
         public Gtk.MenuItem el;
         private ValaProjectSettings  _this;
@@ -1011,7 +1036,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_MenuItem31(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -1022,7 +1047,7 @@ public class ValaProjectSettings : Object
             // set gobject values
             this.el.label = "Remove Target";
 
-            // listeners 
+            //listeners
             this.el.activate.connect( ()  => {
                 
                  //
@@ -1049,9 +1074,11 @@ public class ValaProjectSettings : Object
             });
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_targets_tree : Object 
+
+
+    public class Xcls_targets_tree : Object
     {
         public Gtk.TreeView el;
         private ValaProjectSettings  _this;
@@ -1060,7 +1087,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
         public string cursor;
 
-        // ctor 
+        // ctor
         public Xcls_targets_tree(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -1077,7 +1104,7 @@ public class ValaProjectSettings : Object
             child_1.ref();
             this.el.append_column (  child_1.el  );
 
-            // listeners 
+            //listeners
             this.el.button_press_event.connect( ( ev) => {
                 //console.log("button press?");
                
@@ -1143,9 +1170,9 @@ public class ValaProjectSettings : Object
               });
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_targets_tree_store : Object 
+    public class Xcls_targets_tree_store : Object
     {
         public Gtk.ListStore el;
         private ValaProjectSettings  _this;
@@ -1153,7 +1180,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_targets_tree_store(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -1167,7 +1194,7 @@ public class ValaProjectSettings : Object
             // set gobject values
         }
 
-        // user defined functions 
+        // user defined functions
         public void load () {
          
           this.el.clear();
@@ -1193,7 +1220,8 @@ public class ValaProjectSettings : Object
             _this.set_vbox.el.hide();
         }
     }
-    public class Xcls_TreeViewColumn34 : Object 
+
+    public class Xcls_TreeViewColumn34 : Object
     {
         public Gtk.TreeViewColumn el;
         private ValaProjectSettings  _this;
@@ -1201,7 +1229,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_TreeViewColumn34(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -1216,16 +1244,16 @@ public class ValaProjectSettings : Object
             child_0.ref();
             this.el.pack_start (  child_0.el , false );
 
-            // init method 
+            // init method
 
             {
                  this.el.add_attribute(_this.targets_render.el , "text", 0 );
              }
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_targets_render : Object 
+    public class Xcls_targets_render : Object
     {
         public Gtk.CellRendererText el;
         private ValaProjectSettings  _this;
@@ -1233,7 +1261,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_targets_render(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -1245,7 +1273,7 @@ public class ValaProjectSettings : Object
             // set gobject values
             this.el.editable = true;
 
-            // listeners 
+            //listeners
             this.el.edited.connect( (path, newtext) => {
                  
                  Gtk.TreeIter  iter;
@@ -1264,9 +1292,13 @@ public class ValaProjectSettings : Object
               });
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_set_vbox : Object 
+
+
+
+
+    public class Xcls_set_vbox : Object
     {
         public Gtk.VBox el;
         private ValaProjectSettings  _this;
@@ -1275,7 +1307,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
         public Project.GtkValaSettings cgroup;
 
-        // ctor 
+        // ctor
         public Xcls_set_vbox(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -1306,9 +1338,9 @@ public class ValaProjectSettings : Object
             this.el.pack_start (  child_5.el , true,true,0 );
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_Label37 : Object 
+    public class Xcls_Label37 : Object
     {
         public Gtk.Label el;
         private ValaProjectSettings  _this;
@@ -1316,7 +1348,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_Label37(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -1327,9 +1359,10 @@ public class ValaProjectSettings : Object
             // set gobject values
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_build_pack_target : Object 
+
+    public class Xcls_build_pack_target : Object
     {
         public Gtk.Entry el;
         private ValaProjectSettings  _this;
@@ -1337,7 +1370,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_build_pack_target(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -1348,7 +1381,7 @@ public class ValaProjectSettings : Object
 
             // set gobject values
 
-            // listeners 
+            //listeners
             this.el.changed.connect( ()  => {
                     if (_this.targets_tree.cursor.length < 1) {
                     return;
@@ -1357,9 +1390,10 @@ public class ValaProjectSettings : Object
             });
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_Label39 : Object 
+
+    public class Xcls_Label39 : Object
     {
         public Gtk.Label el;
         private ValaProjectSettings  _this;
@@ -1367,7 +1401,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_Label39(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -1378,9 +1412,10 @@ public class ValaProjectSettings : Object
             // set gobject values
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_build_compile_flags : Object 
+
+    public class Xcls_build_compile_flags : Object
     {
         public Gtk.Entry el;
         private ValaProjectSettings  _this;
@@ -1388,7 +1423,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_build_compile_flags(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -1399,7 +1434,7 @@ public class ValaProjectSettings : Object
 
             // set gobject values
 
-            // listeners 
+            //listeners
             this.el.changed.connect( () => {
                 if (_this.targets_tree.cursor.length < 1) {
                     return;
@@ -1408,9 +1443,10 @@ public class ValaProjectSettings : Object
             });
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_Label41 : Object 
+
+    public class Xcls_Label41 : Object
     {
         public Gtk.Label el;
         private ValaProjectSettings  _this;
@@ -1418,7 +1454,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_Label41(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -1429,9 +1465,10 @@ public class ValaProjectSettings : Object
             // set gobject values
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_ScrolledWindow42 : Object 
+
+    public class Xcls_ScrolledWindow42 : Object
     {
         public Gtk.ScrolledWindow el;
         private ValaProjectSettings  _this;
@@ -1439,7 +1476,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_ScrolledWindow42(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -1453,9 +1490,9 @@ public class ValaProjectSettings : Object
             this.el.add (  child_0.el  );
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_files_tree : Object 
+    public class Xcls_files_tree : Object
     {
         public Gtk.TreeView el;
         private ValaProjectSettings  _this;
@@ -1463,7 +1500,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_files_tree(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -1483,9 +1520,9 @@ public class ValaProjectSettings : Object
             this.el.append_column (  child_2.el  );
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_files_tree_store : Object 
+    public class Xcls_files_tree_store : Object
     {
         public Gtk.ListStore el;
         private ValaProjectSettings  _this;
@@ -1493,7 +1530,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_files_tree_store(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -1509,7 +1546,7 @@ public class ValaProjectSettings : Object
             // set gobject values
         }
 
-        // user defined functions 
+        // user defined functions
         public void updateDir (string dname, bool bval) {
           
           Gtk.TreeIter citer;
@@ -1616,7 +1653,8 @@ public class ValaProjectSettings : Object
         
         }
     }
-    public class Xcls_TreeViewColumn45 : Object 
+
+    public class Xcls_TreeViewColumn45 : Object
     {
         public Gtk.TreeViewColumn el;
         private ValaProjectSettings  _this;
@@ -1624,7 +1662,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_TreeViewColumn45(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -1639,7 +1677,7 @@ public class ValaProjectSettings : Object
             child_0.ref();
             this.el.pack_start (  child_0.el , false );
 
-            // init method 
+            // init method
 
             this.el.add_attribute(_this.files_render.el , "markup", 1 ); // basnemae
              
@@ -1647,9 +1685,9 @@ public class ValaProjectSettings : Object
             */
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_files_render : Object 
+    public class Xcls_files_render : Object
     {
         public Gtk.CellRendererText el;
         private ValaProjectSettings  _this;
@@ -1657,7 +1695,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_files_render(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -1669,9 +1707,11 @@ public class ValaProjectSettings : Object
             // set gobject values
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_TreeViewColumn47 : Object 
+
+
+    public class Xcls_TreeViewColumn47 : Object
     {
         public Gtk.TreeViewColumn el;
         private ValaProjectSettings  _this;
@@ -1679,7 +1719,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_TreeViewColumn47(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -1695,16 +1735,16 @@ public class ValaProjectSettings : Object
             child_0.ref();
             this.el.pack_start (  child_0.el , false );
 
-            // init method 
+            // init method
 
             {
              this.el.add_attribute(_this.files_render_use.el , "active", 3 );
              }
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_files_render_use : Object 
+    public class Xcls_files_render_use : Object
     {
         public Gtk.CellRendererToggle el;
         private ValaProjectSettings  _this;
@@ -1712,7 +1752,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_files_render_use(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -1724,7 +1764,7 @@ public class ValaProjectSettings : Object
             // set gobject values
             this.el.activatable = true;
 
-            // listeners 
+            //listeners
             this.el.toggled.connect( (  path_string) =>  { 
             
             
@@ -1770,6 +1810,13 @@ public class ValaProjectSettings : Object
             });
         }
 
-        // user defined functions 
+        // user defined functions
     }
+
+
+
+
+
+
+
 }