resources/RooUsage.txt
[app.Builder.js] / src / Builder4 / ValaProjectSettings.vala
index 119d96a..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;
@@ -253,6 +254,7 @@ public class ValaProjectSettings : Object
             // 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  );
@@ -280,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  );
@@ -519,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  );
@@ -1162,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();
                    
@@ -1335,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
@@ -1458,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" );
@@ -1470,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;
@@ -1479,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 );
@@ -1514,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  );
         }
@@ -1656,7 +1722,7 @@ public class ValaProjectSettings : Object
         }
     }
 
-    public class Xcls_TreeViewColumn45 : Object
+    public class Xcls_TreeViewColumn47 : Object
     {
         public Gtk.TreeViewColumn el;
         private ValaProjectSettings  _this;
@@ -1665,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();
@@ -1713,7 +1779,7 @@ public class ValaProjectSettings : Object
     }
 
 
-    public class Xcls_TreeViewColumn47 : Object
+    public class Xcls_TreeViewColumn49 : Object
     {
         public Gtk.TreeViewColumn el;
         private ValaProjectSettings  _this;
@@ -1722,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();