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;
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 );
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 );
}
// 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
// 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 );
// 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 );
_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();
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
// 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" );
// user defined functions
}
- public class Xcls_ScrolledWindow42 : Object
+ public class Xcls_ScrolledWindow44 : Object
{
public Gtk.ScrolledWindow el;
private ValaProjectSettings _this;
// my vars (def)
// ctor
- public Xcls_ScrolledWindow42(ValaProjectSettings _owner )
+ public Xcls_ScrolledWindow44(ValaProjectSettings _owner )
{
_this = _owner;
this.el = new Gtk.ScrolledWindow( null, null );
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 );
}
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;
}
}
}
- public class Xcls_TreeViewColumn45 : Object
+ public class Xcls_TreeViewColumn47 : Object
{
public Gtk.TreeViewColumn el;
private ValaProjectSettings _this;
// my vars (def)
// ctor
- public Xcls_TreeViewColumn45(ValaProjectSettings _owner )
+ public Xcls_TreeViewColumn47(ValaProjectSettings _owner )
{
_this = _owner;
this.el = new Gtk.TreeViewColumn();
}
- public class Xcls_TreeViewColumn47 : Object
+ public class Xcls_TreeViewColumn49 : Object
{
public Gtk.TreeViewColumn el;
private ValaProjectSettings _this;
// my vars (def)
// ctor
- public Xcls_TreeViewColumn47(ValaProjectSettings _owner )
+ public Xcls_TreeViewColumn49(ValaProjectSettings _owner )
{
_this = _owner;
this.el = new Gtk.TreeViewColumn();