resources/RooUsage.txt
[app.Builder.js] / src / Builder4 / ValaProjectSettings.vala
index b561256..b61cc6d 100644 (file)
@@ -1,8 +1,8 @@
 static ValaProjectSettings  _ValaProjectSettings;
 
-public class ValaProjectSettings : Object 
+public class ValaProjectSettings : Object
 {
-    public Gtk.VBox el;
+    public Gtk.Box el;
     private ValaProjectSettings  _this;
 
     public static ValaProjectSettings singleton()
@@ -29,6 +29,7 @@ public class ValaProjectSettings : Object
     public Xcls_set_vbox set_vbox;
     public Xcls_build_pack_target build_pack_target;
     public Xcls_build_compile_flags build_compile_flags;
+    public Xcls_build_execute_args build_execute_args;
     public Xcls_files_tree_store files_tree_store;
     public Xcls_files_render files_render;
     public Xcls_files_render_use files_render_use;
@@ -37,23 +38,24 @@ public class ValaProjectSettings : Object
     public Project.Gtk project;
     public Xcls_MainWindow window;
 
-    // ctor 
+    // ctor
     public ValaProjectSettings()
     {
         _this = this;
-        this.el = new Gtk.VBox( true, 0 );
+        this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
 
         // my vars (dec)
         this.project = null;
         this.window = null;
 
         // set gobject values
+        this.el.hexpand = true;
         var child_0 = new Xcls_Notebook2( _this );
         child_0.ref();
         this.el.pack_start (  child_0.el , true,true,0 );
     }
 
-    // user defined functions 
+    // user defined functions
     public void show (Project.Gtk project) {
         
         
@@ -72,7 +74,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 +82,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_Notebook2(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -93,17 +95,17 @@ public class ValaProjectSettings : Object
             child_0.ref();
             var child_1 = new Xcls_label_targets( _this );
             child_1.ref();
-            var child_2 = new Xcls_VBox5( _this );
+            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_HPaned27( _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 +113,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_label_global(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -123,9 +125,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 +136,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_label_targets(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -145,48 +148,41 @@ public class ValaProjectSettings : Object
             // set gobject values
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_VBox5 : Object 
+
+    public class Xcls_Box5 : Object
     {
-        public Gtk.VBox el;
+        public Gtk.Box el;
         private ValaProjectSettings  _this;
 
 
             // my vars (def)
 
-        // ctor 
-        public Xcls_VBox5(ValaProjectSettings _owner )
+        // ctor
+        public Xcls_Box5(ValaProjectSettings _owner )
         {
             _this = _owner;
-            this.el = new Gtk.VBox( false, 0 );
+            this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
 
             // my vars (dec)
 
             // set gobject values
+            this.el.homogeneous = false;
             var child_0 = new Xcls_Label6( _this );
             child_0.ref();
             this.el.pack_start (  child_0.el , false,false,0 );
             var child_1 = new Xcls_compile_flags( _this );
             child_1.ref();
             this.el.pack_start (  child_1.el , false,false,0 );
-            var child_2 = new Xcls_Label8( _this );
+            var child_2 = new Xcls_Paned8( _this );
             child_2.ref();
-            this.el.pack_start (  child_2.el , false,false,0 );
-            var child_3 = new Xcls_ScrolledWindow9( _this );
-            child_3.ref();
-            this.el.pack_start (  child_3.el , true,true,0 );
-            var child_4 = new Xcls_Label16( _this );
-            child_4.ref();
-            this.el.pack_start (  child_4.el , false,false,0 );
-            var child_5 = new Xcls_ScrolledWindow17( _this );
-            child_5.ref();
-            this.el.pack_start (  child_5.el , true,true,0 );
+            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;
@@ -194,7 +190,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_Label6(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -205,9 +201,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;
@@ -215,7 +212,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_compile_flags(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -227,7 +224,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;
@@ -237,30 +234,38 @@ public class ValaProjectSettings : Object
             });
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_Label8 : Object 
+
+    public class Xcls_Paned8 : Object
     {
-        public Gtk.Label el;
+        public Gtk.Paned el;
         private ValaProjectSettings  _this;
 
 
             // my vars (def)
 
-        // ctor 
-        public Xcls_Label8(ValaProjectSettings _owner )
+        // ctor
+        public Xcls_Paned8(ValaProjectSettings _owner )
         {
             _this = _owner;
-            this.el = new Gtk.Label( "packages" );
+            this.el = new Gtk.Paned( Gtk.Orientation.HORIZONTAL );
 
             // my vars (dec)
 
             // set gobject values
+            this.el.position = 300;
+            var child_0 = new Xcls_ScrolledWindow9( _this );
+            child_0.ref();
+            this.el.add (  child_0.el  );
+            var child_1 = new Xcls_ScrolledWindow16( _this );
+            child_1.ref();
+            this.el.add2 (  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;
@@ -268,7 +273,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_ScrolledWindow9(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -277,14 +282,15 @@ public class ValaProjectSettings : Object
             // my vars (dec)
 
             // set gobject values
+            this.el.hexpand = true;
             var child_0 = new Xcls_default_packages_tree( _this );
             child_0.ref();
             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;
@@ -292,7 +298,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_default_packages_tree(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -301,7 +307,7 @@ public class ValaProjectSettings : Object
             // my vars (dec)
 
             // set gobject values
-            this.el.headers_visible = false;
+            this.el.headers_visible = true;
             var child_0 = new Xcls_default_packages_tree_store( _this );
             child_0.ref();
             this.el.set_model (  child_0.el  );
@@ -313,9 +319,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;
@@ -323,7 +329,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_default_packages_tree_store(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -336,7 +342,7 @@ public class ValaProjectSettings : Object
             // set gobject values
         }
 
-        // user defined functions 
+        // user defined functions
         public void load () {
          
             var def = _this.project.compilegroups.get("_default_");
@@ -344,7 +350,7 @@ public class ValaProjectSettings : Object
             
             this.el.clear();
             var pal = (Palete.Gtk) Palete.factory("Gtk");
-            var pkgs = pal.packages();
+            var pkgs = pal.packages(_this.project);
             print("ValaProjectSettings:packages load %d\n", pkgs.size);
         
             Gtk.TreeIter citer;
@@ -359,7 +365,8 @@ public class ValaProjectSettings : Object
             
         }
     }
-    public class Xcls_TreeViewColumn12 : Object 
+
+    public class Xcls_TreeViewColumn12 : Object
     {
         public Gtk.TreeViewColumn el;
         private ValaProjectSettings  _this;
@@ -367,7 +374,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_TreeViewColumn12(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -376,20 +383,21 @@ public class ValaProjectSettings : Object
             // my vars (dec)
 
             // set gobject values
-            this.el.title = "name";
+            this.el.title = "package name";
             this.el.expand = true;
             this.el.resizable = true;
             var child_0 = new Xcls_packages_render( _this );
             child_0.ref();
             this.el.pack_start (  child_0.el , false );
 
-            // init method 
+            // init method
 
-            this.el.add_attribute(_this.packages_render.el , "text", 0 );        }
+            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;
@@ -397,7 +405,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_packages_render(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -409,9 +417,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;
@@ -419,7 +429,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_TreeViewColumn14(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -435,15 +445,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 +462,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_packages_render_use(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -463,7 +474,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,30 +499,13 @@ public class ValaProjectSettings : Object
             });
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_Label16 : Object 
-    {
-        public Gtk.Label el;
-        private ValaProjectSettings  _this;
-
-
-            // my vars (def)
 
-        // ctor 
-        public Xcls_Label16(ValaProjectSettings _owner )
-        {
-            _this = _owner;
-            this.el = new Gtk.Label( "Available Directories" );
 
-            // my vars (dec)
 
-            // set gobject values
-        }
 
-        // user defined functions 
-    }
-    public class Xcls_ScrolledWindow17 : Object 
+    public class Xcls_ScrolledWindow16 : Object
     {
         public Gtk.ScrolledWindow el;
         private ValaProjectSettings  _this;
@@ -519,8 +513,8 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
-        public Xcls_ScrolledWindow17(ValaProjectSettings _owner )
+        // ctor
+        public Xcls_ScrolledWindow16(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.ScrolledWindow( null, null );
@@ -528,6 +522,7 @@ public class ValaProjectSettings : Object
             // my vars (dec)
 
             // set gobject values
+            this.el.hexpand = true;
             var child_0 = new Xcls_default_directory_tree( _this );
             child_0.ref();
             this.el.add (  child_0.el  );
@@ -535,9 +530,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;
@@ -545,7 +540,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_default_directory_tree(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -555,15 +550,15 @@ public class ValaProjectSettings : Object
             // my vars (dec)
 
             // set gobject values
-            this.el.headers_visible = false;
+            this.el.headers_visible = true;
             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_TreeViewColumn19( _this );
             child_1.ref();
             this.el.append_column (  child_1.el  );
 
-            // listeners 
+            //listeners
             this.el.button_press_event.connect( ( ev) => {
                 //console.log("button press?");
                
@@ -591,9 +586,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;
@@ -601,7 +596,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_default_directory_tree_store(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -614,7 +609,7 @@ public class ValaProjectSettings : Object
             // set gobject values
         }
 
-        // user defined functions 
+        // user defined functions
         public void load () {
          
           this.el.clear();
@@ -636,7 +631,8 @@ public class ValaProjectSettings : Object
             
         }
     }
-    public class Xcls_TreeViewColumn20 : Object 
+
+    public class Xcls_TreeViewColumn19 : Object
     {
         public Gtk.TreeViewColumn el;
         private ValaProjectSettings  _this;
@@ -644,8 +640,8 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
-        public Xcls_TreeViewColumn20(ValaProjectSettings _owner )
+        // ctor
+        public Xcls_TreeViewColumn19(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.TreeViewColumn();
@@ -653,19 +649,20 @@ public class ValaProjectSettings : Object
             // my vars (dec)
 
             // set gobject values
-            this.el.title = "name";
+            this.el.title = "Available Directories (right click to add)";
             this.el.resizable = true;
             var child_0 = new Xcls_directory_render( _this );
             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 );        }
+            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;
@@ -673,7 +670,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_directory_render(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -685,9 +682,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;
@@ -695,7 +695,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_default_directory_menu(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -705,23 +705,23 @@ public class ValaProjectSettings : Object
             // my vars (dec)
 
             // set gobject values
-            var child_0 = new Xcls_MenuItem23( _this );
+            var child_0 = new Xcls_MenuItem22( _this );
             child_0.ref();
             this.el.add (  child_0.el  );
-            var child_1 = new Xcls_MenuItem24( _this );
+            var child_1 = new Xcls_MenuItem23( _this );
             child_1.ref();
             this.el.add (  child_1.el  );
-            var child_2 = new Xcls_SeparatorMenuItem25( _this );
+            var child_2 = new Xcls_SeparatorMenuItem24( _this );
             child_2.ref();
             this.el.add (  child_2.el  );
-            var child_3 = new Xcls_MenuItem26( _this );
+            var child_3 = new Xcls_MenuItem25( _this );
             child_3.ref();
             this.el.add (  child_3.el  );
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_MenuItem23 : Object 
+    public class Xcls_MenuItem22 : Object
     {
         public Gtk.MenuItem el;
         private ValaProjectSettings  _this;
@@ -729,8 +729,8 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
-        public Xcls_MenuItem23(ValaProjectSettings _owner )
+        // ctor
+        public Xcls_MenuItem22(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.MenuItem();
@@ -740,7 +740,7 @@ public class ValaProjectSettings : Object
             // set gobject values
             this.el.label = "Add Directory";
 
-            // listeners 
+            //listeners
             this.el.activate.connect( ()  => {
                 
                 var  chooser = new Gtk.FileChooserDialog (
@@ -761,9 +761,10 @@ public class ValaProjectSettings : Object
             });
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_MenuItem24 : Object 
+
+    public class Xcls_MenuItem23 : Object
     {
         public Gtk.MenuItem el;
         private ValaProjectSettings  _this;
@@ -771,8 +772,8 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
-        public Xcls_MenuItem24(ValaProjectSettings _owner )
+        // ctor
+        public Xcls_MenuItem23(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.MenuItem();
@@ -782,7 +783,7 @@ public class ValaProjectSettings : Object
             // set gobject values
             this.el.label = "Add File";
 
-            // listeners 
+            //listeners
             this.el.activate.connect( ()  => {
                 
                 var  chooser = new Gtk.FileChooserDialog (
@@ -803,9 +804,10 @@ public class ValaProjectSettings : Object
             });
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_SeparatorMenuItem25 : Object 
+
+    public class Xcls_SeparatorMenuItem24 : Object
     {
         public Gtk.SeparatorMenuItem el;
         private ValaProjectSettings  _this;
@@ -813,8 +815,8 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
-        public Xcls_SeparatorMenuItem25(ValaProjectSettings _owner )
+        // ctor
+        public Xcls_SeparatorMenuItem24(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.SeparatorMenuItem();
@@ -824,9 +826,10 @@ public class ValaProjectSettings : Object
             // set gobject values
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_MenuItem26 : Object 
+
+    public class Xcls_MenuItem25 : Object
     {
         public Gtk.MenuItem el;
         private ValaProjectSettings  _this;
@@ -834,8 +837,8 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
-        public Xcls_MenuItem26(ValaProjectSettings _owner )
+        // ctor
+        public Xcls_MenuItem25(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.MenuItem();
@@ -845,7 +848,7 @@ public class ValaProjectSettings : Object
             // set gobject values
             this.el.label = "Remove File/Directory";
 
-            // listeners 
+            //listeners
             this.el.activate.connect( ()  => {
                 
                  //
@@ -872,27 +875,32 @@ public class ValaProjectSettings : Object
             });
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_HPaned27 : Object 
+
+
+
+
+
+    public class Xcls_Paned26 : Object
     {
-        public Gtk.HPaned el;
+        public Gtk.Paned el;
         private ValaProjectSettings  _this;
 
 
             // my vars (def)
 
-        // ctor 
-        public Xcls_HPaned27(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)
 
             // set gobject values
             this.el.position = 300;
-            var child_0 = new Xcls_ScrolledWindow28( _this );
+            var child_0 = new Xcls_ScrolledWindow27( _this );
             child_0.ref();
             this.el.add1 (  child_0.el  );
             var child_1 = new Xcls_set_vbox( _this );
@@ -900,9 +908,9 @@ public class ValaProjectSettings : Object
             this.el.add2 (  child_1.el  );
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_ScrolledWindow28 : Object 
+    public class Xcls_ScrolledWindow27 : Object
     {
         public Gtk.ScrolledWindow el;
         private ValaProjectSettings  _this;
@@ -910,8 +918,8 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
-        public Xcls_ScrolledWindow28(ValaProjectSettings _owner )
+        // ctor
+        public Xcls_ScrolledWindow27(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.ScrolledWindow( null, null );
@@ -926,16 +934,17 @@ 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);
             
-            }        }
+            }
+        }
 
-        // 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;
@@ -943,7 +952,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_targets_tree_menu(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -953,20 +962,20 @@ public class ValaProjectSettings : Object
             // my vars (dec)
 
             // set gobject values
-            var child_0 = new Xcls_MenuItem30( _this );
+            var child_0 = new Xcls_MenuItem29( _this );
             child_0.ref();
             this.el.add (  child_0.el  );
-            var child_1 = new Xcls_SeparatorMenuItem31( _this );
+            var child_1 = new Xcls_SeparatorMenuItem30( _this );
             child_1.ref();
             this.el.add (  child_1.el  );
-            var child_2 = new Xcls_MenuItem32( _this );
+            var child_2 = new Xcls_MenuItem31( _this );
             child_2.ref();
             this.el.add (  child_2.el  );
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_MenuItem30 : Object 
+    public class Xcls_MenuItem29 : Object
     {
         public Gtk.MenuItem el;
         private ValaProjectSettings  _this;
@@ -974,8 +983,8 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
-        public Xcls_MenuItem30(ValaProjectSettings _owner )
+        // ctor
+        public Xcls_MenuItem29(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.MenuItem();
@@ -985,7 +994,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")) {
@@ -999,9 +1008,10 @@ public class ValaProjectSettings : Object
             });
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_SeparatorMenuItem31 : Object 
+
+    public class Xcls_SeparatorMenuItem30 : Object
     {
         public Gtk.SeparatorMenuItem el;
         private ValaProjectSettings  _this;
@@ -1009,8 +1019,8 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
-        public Xcls_SeparatorMenuItem31(ValaProjectSettings _owner )
+        // ctor
+        public Xcls_SeparatorMenuItem30(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.SeparatorMenuItem();
@@ -1020,9 +1030,10 @@ public class ValaProjectSettings : Object
             // set gobject values
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_MenuItem32 : Object 
+
+    public class Xcls_MenuItem31 : Object
     {
         public Gtk.MenuItem el;
         private ValaProjectSettings  _this;
@@ -1030,8 +1041,8 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
-        public Xcls_MenuItem32(ValaProjectSettings _owner )
+        // ctor
+        public Xcls_MenuItem31(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.MenuItem();
@@ -1041,7 +1052,7 @@ public class ValaProjectSettings : Object
             // set gobject values
             this.el.label = "Remove Target";
 
-            // listeners 
+            //listeners
             this.el.activate.connect( ()  => {
                 
                  //
@@ -1068,9 +1079,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;
@@ -1079,7 +1092,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
         public string cursor;
 
-        // ctor 
+        // ctor
         public Xcls_targets_tree(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -1092,11 +1105,11 @@ 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_TreeViewColumn34( _this );
             child_1.ref();
             this.el.append_column (  child_1.el  );
 
-            // listeners 
+            //listeners
             this.el.button_press_event.connect( ( ev) => {
                 //console.log("button press?");
                
@@ -1153,17 +1166,20 @@ public class ValaProjectSettings : Object
                    
                    _this.build_pack_target.el.set_text(cg.target_bin);
                    _this.build_compile_flags.el.set_text(cg.compile_flags);
+                       _this.build_execute_args.el.set_text(cg.execute_args);
+                   
+                   _this.set_vbox.cgroup = cg;
+                   _this.files_tree_store.update();
                    
-                   //_this.files_tree_store.updatesel(cg);
                    // load the srouces
                    
             
               });
         }
 
-        // 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;
@@ -1171,7 +1187,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_targets_tree_store(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -1185,7 +1201,7 @@ public class ValaProjectSettings : Object
             // set gobject values
         }
 
-        // user defined functions 
+        // user defined functions
         public void load () {
          
           this.el.clear();
@@ -1208,10 +1224,11 @@ public class ValaProjectSettings : Object
                 //this.el.set_value(citer, 1,   items.get(i) );
             };
             this.el.set_sort_column_id(0,Gtk.SortType.ASCENDING);
-            
+            _this.set_vbox.el.hide();
         }
     }
-    public class Xcls_TreeViewColumn35 : Object 
+
+    public class Xcls_TreeViewColumn34 : Object
     {
         public Gtk.TreeViewColumn el;
         private ValaProjectSettings  _this;
@@ -1219,8 +1236,8 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
-        public Xcls_TreeViewColumn35(ValaProjectSettings _owner )
+        // ctor
+        public Xcls_TreeViewColumn34(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.TreeViewColumn();
@@ -1234,15 +1251,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;
@@ -1250,7 +1268,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_targets_render(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -1262,7 +1280,7 @@ public class ValaProjectSettings : Object
             // set gobject values
             this.el.editable = true;
 
-            // listeners 
+            //listeners
             this.el.edited.connect( (path, newtext) => {
                  
                  Gtk.TreeIter  iter;
@@ -1281,51 +1299,62 @@ 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;
+        public Gtk.Box el;
         private ValaProjectSettings  _this;
 
 
             // my vars (def)
         public Project.GtkValaSettings cgroup;
 
-        // ctor 
+        // ctor
         public Xcls_set_vbox(ValaProjectSettings _owner )
         {
             _this = _owner;
             _this.set_vbox = this;
-            this.el = new Gtk.VBox( false, 0 );
+            this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
 
             // my vars (dec)
             this.cgroup = null;
 
             // set gobject values
-            var child_0 = new Xcls_Label38( _this );
+            this.el.homogeneous = false;
+            var child_0 = new Xcls_Label37( _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_Label39( _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_Label41( _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_build_execute_args( _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_Label43( _this );
+            child_6.ref();
+            this.el.pack_start (  child_6.el , false,false,0 );
+            var child_7 = new Xcls_ScrolledWindow44( _this );
+            child_7.ref();
+            this.el.pack_start (  child_7.el , true,true,0 );
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_Label38 : Object 
+    public class Xcls_Label37 : Object
     {
         public Gtk.Label el;
         private ValaProjectSettings  _this;
@@ -1333,8 +1362,8 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
-        public Xcls_Label38(ValaProjectSettings _owner )
+        // ctor
+        public Xcls_Label37(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.Label( "target filename" );
@@ -1344,9 +1373,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;
@@ -1354,7 +1384,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_build_pack_target(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -1365,7 +1395,7 @@ public class ValaProjectSettings : Object
 
             // set gobject values
 
-            // listeners 
+            //listeners
             this.el.changed.connect( ()  => {
                     if (_this.targets_tree.cursor.length < 1) {
                     return;
@@ -1374,9 +1404,10 @@ public class ValaProjectSettings : Object
             });
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_Label40 : Object 
+
+    public class Xcls_Label39 : Object
     {
         public Gtk.Label el;
         private ValaProjectSettings  _this;
@@ -1384,8 +1415,8 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
-        public Xcls_Label40(ValaProjectSettings _owner )
+        // ctor
+        public Xcls_Label39(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.Label( "compile flags" );
@@ -1395,9 +1426,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;
@@ -1405,7 +1437,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_build_compile_flags(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -1416,7 +1448,7 @@ public class ValaProjectSettings : Object
 
             // set gobject values
 
-            // listeners 
+            //listeners
             this.el.changed.connect( () => {
                 if (_this.targets_tree.cursor.length < 1) {
                     return;
@@ -1425,9 +1457,10 @@ public class ValaProjectSettings : Object
             });
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_Label42 : Object 
+
+    public class Xcls_Label41 : Object
     {
         public Gtk.Label el;
         private ValaProjectSettings  _this;
@@ -1435,8 +1468,62 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
-        public Xcls_Label42(ValaProjectSettings _owner )
+        // ctor
+        public Xcls_Label41(ValaProjectSettings _owner )
+        {
+            _this = _owner;
+            this.el = new Gtk.Label( "test argments - when run after a build" );
+
+            // my vars (dec)
+
+            // set gobject values
+        }
+
+        // user defined functions
+    }
+
+    public class Xcls_build_execute_args : Object
+    {
+        public Gtk.Entry el;
+        private ValaProjectSettings  _this;
+
+
+            // my vars (def)
+
+        // ctor
+        public Xcls_build_execute_args(ValaProjectSettings _owner )
+        {
+            _this = _owner;
+            _this.build_execute_args = this;
+            this.el = new Gtk.Entry();
+
+            // my vars (dec)
+
+            // set gobject values
+            this.el.placeholder_text = "eg.  -f somefile -g ";
+
+            //listeners
+            this.el.changed.connect( () => {
+                if (_this.targets_tree.cursor.length < 1) {
+                    return;
+                }
+                _this.project.compilegroups.get(_this.targets_tree.cursor).execute_args = this.el.text;
+            });
+        }
+
+        // user defined functions
+    }
+
+    public class Xcls_Label43 : Object
+    {
+        public Gtk.Label el;
+        private ValaProjectSettings  _this;
+
+
+            // my vars (def)
+
+        // ctor
+        public Xcls_Label43(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.Label( "Files to compile" );
@@ -1446,9 +1533,10 @@ public class ValaProjectSettings : Object
             // set gobject values
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_ScrolledWindow43 : Object 
+
+    public class Xcls_ScrolledWindow44 : Object
     {
         public Gtk.ScrolledWindow el;
         private ValaProjectSettings  _this;
@@ -1456,8 +1544,8 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
-        public Xcls_ScrolledWindow43(ValaProjectSettings _owner )
+        // ctor
+        public Xcls_ScrolledWindow44(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.ScrolledWindow( null, null );
@@ -1470,9 +1558,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;
@@ -1480,7 +1568,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_files_tree(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -1492,17 +1580,17 @@ 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  );
         }
 
-        // 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;
@@ -1510,7 +1598,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_files_tree_store(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -1526,7 +1614,41 @@ public class ValaProjectSettings : Object
             // set gobject values
         }
 
-        // user defined functions 
+        // user defined functions
+        public void updateDir (string dname, bool bval) {
+          
+          Gtk.TreeIter citer;
+        
+            var cg =   _this.set_vbox.cgroup;
+          for(var i =0 ; i < this.el.iter_n_children(null); i++) {
+                this.el.iter_nth_child(out citer,null,i);
+        
+                GLib.Value val;
+                this.el.get_value(citer,0, out val);
+                var fn = (string) val;
+                
+                if ( Path.get_dirname (fn) == dname) {
+                
+                    this.el.set_value(citer, 3,   bval ); // checked 
+                   
+             
+             
+                    if (!bval) {
+                        // renive
+                        if (cg.sources.contains(fn)) {
+                            cg.sources.remove(fn);
+                        }
+                    } else {
+                        if (!cg.sources.contains(fn)) {
+                            cg.sources.add(fn);
+                        }
+                    }
+                    
+                    
+                }
+            }
+        
+        }
         public void load () {
          
               this.el.clear();
@@ -1542,6 +1664,12 @@ public class ValaProjectSettings : Object
             Gtk.TreeIter citer;
         
             for(var i =0 ; i < items.size; i++) {
+            
+                 var files = _this.project.filesForCompile(items.get(i), false);
+                 if (files.size < 1) {
+                    continue;
+                 }
+            
                  this.el.append(out citer);   
                  
                 this.el.set_value(citer, 0,   items.get(i) ); // title 
@@ -1552,11 +1680,11 @@ public class ValaProjectSettings : Object
                 this.el.set_value(citer, 2,   "dir"); // type         
                 this.el.set_value(citer, 3,   false ); // checked 
         
-                var files = _this.project.files(items.get(i));
+               
                 
                  for(var j =0 ; j < files.size; j++) {
                     this.el.append(out citer);   
-                         print("ADD item %s", files.get(j));
+                     print("ADD item %s", files.get(j));
                     this.el.set_value(citer, 0,   files.get(j) ); // title 
                     this.el.set_value(citer, 1,   GLib.Markup.escape_text( Path.get_basename (files.get(j))) ); // title             
                     this.el.set_value(citer, 2,   "file"); // type         
@@ -1569,9 +1697,32 @@ public class ValaProjectSettings : Object
             }
             this.el.set_sort_column_id(0,Gtk.SortType.ASCENDING);
             
+        }
+        public void update () {
+        
+        
+            Gtk.TreeIter citer;
+        
+            for(var i =0 ; i < this.el.iter_n_children(null); i++) {
+                this.el.iter_nth_child(out citer,null,i);
+        
+                GLib.Value val;
+                this.el.get_value(citer,0, out val);
+                var fn = (string) val;
+                
+                var active = false;
+                if (_this.set_vbox.cgroup.sources.contains(fn)) {
+                    active = true;
+                }
+                
+                this.el.set_value(citer, 3,   active ); // checked 
+            }
+        
+        
         }
     }
-    public class Xcls_TreeViewColumn46 : Object 
+
+    public class Xcls_TreeViewColumn47 : Object
     {
         public Gtk.TreeViewColumn el;
         private ValaProjectSettings  _this;
@@ -1579,8 +1730,8 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
-        public Xcls_TreeViewColumn46(ValaProjectSettings _owner )
+        // ctor
+        public Xcls_TreeViewColumn47(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.TreeViewColumn();
@@ -1594,16 +1745,17 @@ 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
              
             /*  this.el.add_attribute(_this.files_render.el , "markup", 2 );
-            */        }
+            */
+        }
 
-        // 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;
@@ -1611,7 +1763,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_files_render(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -1623,9 +1775,11 @@ public class ValaProjectSettings : Object
             // set gobject values
         }
 
-        // user defined functions 
+        // user defined functions
     }
-    public class Xcls_TreeViewColumn48 : Object 
+
+
+    public class Xcls_TreeViewColumn49 : Object
     {
         public Gtk.TreeViewColumn el;
         private ValaProjectSettings  _this;
@@ -1633,8 +1787,8 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
-        public Xcls_TreeViewColumn48(ValaProjectSettings _owner )
+        // ctor
+        public Xcls_TreeViewColumn49(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.TreeViewColumn();
@@ -1649,15 +1803,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;
@@ -1665,7 +1820,7 @@ public class ValaProjectSettings : Object
 
             // my vars (def)
 
-        // ctor 
+        // ctor
         public Xcls_files_render_use(ValaProjectSettings _owner )
         {
             _this = _owner;
@@ -1677,7 +1832,7 @@ public class ValaProjectSettings : Object
             // set gobject values
             this.el.activatable = true;
 
-            // listeners 
+            //listeners
             this.el.toggled.connect( (  path_string) =>  { 
             
             
@@ -1695,28 +1850,41 @@ public class ValaProjectSettings : Object
                m.get_value(iter, 2, out ftval);
                var ftype = (string)ftval;   
                
-               // full name...
+               // full name...  
                GLib.Value fval;     
                m.get_value(iter, 0, out fval);
                var fn = (string)fval;
                 
+                
+                var cg =   _this.set_vbox.cgroup;
                 // what's the sleected target?
                 // update the list..
                 // if ftype is a dir == then toggle all the bellow.
+                
+                if (ftype == "dir") {
+                    _this.files_tree_store.updateDir(fn,  ((bool) val) ? false :true);
+                }
+                
                 // if ftype is a file .. see if all the files in that directory are check and check the dir.
-                return;
-                var def = _this.project.compilegroups.get("_default_");
-                var items  = def.packages;
+            
+                 
                 if ((bool)val) {
                     // renive
-                    items.remove(fn);
+                    cg.sources.remove(fn);
                 } else {
-                    items.add(fn);
+                    cg.sources.add(fn);
                 }
                 
             });
         }
 
-        // user defined functions 
+        // user defined functions
     }
+
+
+
+
+
+
+
 }