resources/RooUsage.txt
[app.Builder.js] / src / Builder4 / ValaProjectSettings.vala
index b165e9f..b61cc6d 100644 (file)
@@ -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;
@@ -48,6 +49,7 @@ public class ValaProjectSettings : Object
         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 );
@@ -173,7 +175,7 @@ public class ValaProjectSettings : Object
             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_Box8( _this );
+            var child_2 = new Xcls_Paned8( _this );
             child_2.ref();
             this.el.pack_start (  child_2.el , true,true,0 );
         }
@@ -235,29 +237,30 @@ public class ValaProjectSettings : Object
         // user defined functions
     }
 
-    public class Xcls_Box8 : Object
+    public class Xcls_Paned8 : Object
     {
-        public Gtk.Box el;
+        public Gtk.Paned el;
         private ValaProjectSettings  _this;
 
 
             // my vars (def)
 
         // ctor
-        public Xcls_Box8(ValaProjectSettings _owner )
+        public Xcls_Paned8(ValaProjectSettings _owner )
         {
             _this = _owner;
-            this.el = new Gtk.Box( Gtk.Orientation.HORIZONTAL, 0 );
+            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.add (  child_1.el  );
+            this.el.add2 (  child_1.el  );
         }
 
         // user defined functions
@@ -279,6 +282,7 @@ 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  );
@@ -518,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  );
@@ -1161,6 +1166,8 @@ 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();
                    
@@ -1300,7 +1307,7 @@ public class ValaProjectSettings : Object
 
     public class Xcls_set_vbox : Object
     {
-        public Gtk.VBox el;
+        public Gtk.Box el;
         private ValaProjectSettings  _this;
 
 
@@ -1312,12 +1319,13 @@ public class ValaProjectSettings : Object
         {
             _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
+            this.el.homogeneous = false;
             var child_0 = new Xcls_Label37( _this );
             child_0.ref();
             this.el.pack_start (  child_0.el , false,false,0 );
@@ -1333,9 +1341,15 @@ public class ValaProjectSettings : Object
             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_ScrolledWindow42( _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
@@ -1456,6 +1470,60 @@ public class ValaProjectSettings : Object
 
         // 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" );
@@ -1468,7 +1536,7 @@ public class ValaProjectSettings : Object
         // user defined functions
     }
 
-    public class Xcls_ScrolledWindow42 : Object
+    public class Xcls_ScrolledWindow44 : Object
     {
         public Gtk.ScrolledWindow el;
         private ValaProjectSettings  _this;
@@ -1477,7 +1545,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor
-        public Xcls_ScrolledWindow42(ValaProjectSettings _owner )
+        public Xcls_ScrolledWindow44(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.ScrolledWindow( null, null );
@@ -1512,10 +1580,10 @@ public class ValaProjectSettings : Object
             var child_0 = new Xcls_files_tree_store( _this );
             child_0.ref();
             this.el.set_model (  child_0.el  );
-            var child_1 = new Xcls_TreeViewColumn45( _this );
+            var child_1 = new Xcls_TreeViewColumn47( _this );
             child_1.ref();
             this.el.append_column (  child_1.el  );
-            var child_2 = new Xcls_TreeViewColumn47( _this );
+            var child_2 = new Xcls_TreeViewColumn49( _this );
             child_2.ref();
             this.el.append_column (  child_2.el  );
         }
@@ -1597,7 +1665,7 @@ public class ValaProjectSettings : Object
         
             for(var i =0 ; i < items.size; i++) {
             
-                 var files = _this.project.files(items.get(i));
+                 var files = _this.project.filesForCompile(items.get(i), false);
                  if (files.size < 1) {
                     continue;
                  }
@@ -1654,7 +1722,7 @@ public class ValaProjectSettings : Object
         }
     }
 
-    public class Xcls_TreeViewColumn45 : Object
+    public class Xcls_TreeViewColumn47 : Object
     {
         public Gtk.TreeViewColumn el;
         private ValaProjectSettings  _this;
@@ -1663,7 +1731,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor
-        public Xcls_TreeViewColumn45(ValaProjectSettings _owner )
+        public Xcls_TreeViewColumn47(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.TreeViewColumn();
@@ -1711,7 +1779,7 @@ public class ValaProjectSettings : Object
     }
 
 
-    public class Xcls_TreeViewColumn47 : Object
+    public class Xcls_TreeViewColumn49 : Object
     {
         public Gtk.TreeViewColumn el;
         private ValaProjectSettings  _this;
@@ -1720,7 +1788,7 @@ public class ValaProjectSettings : Object
             // my vars (def)
 
         // ctor
-        public Xcls_TreeViewColumn47(ValaProjectSettings _owner )
+        public Xcls_TreeViewColumn49(ValaProjectSettings _owner )
         {
             _this = _owner;
             this.el = new Gtk.TreeViewColumn();