var child_0 = new Xcls_MenuItem30( _this );
child_0.ref();
this.el.add ( child_0.el );
- var child_1 = new Xcls_MenuItem31( _this );
+ var child_1 = new Xcls_SeparatorMenuItem31( _this );
child_1.ref();
this.el.add ( child_1.el );
- var child_2 = new Xcls_SeparatorMenuItem32( _this );
+ var child_2 = new Xcls_MenuItem32( _this );
child_2.ref();
this.el.add ( child_2.el );
- var child_3 = new Xcls_MenuItem33( _this );
- child_3.ref();
- this.el.add ( child_3.el );
}
// user defined functions
// my vars (dec)
// set gobject values
- this.el.label = "Add Directory";
+ this.el.label = "Add Compile Target";
// listeners
this.el.activate.connect( () => {
// user defined functions
}
- public class Xcls_MenuItem31 : Object
- {
- public Gtk.MenuItem el;
- private ValaProjectSettings _this;
-
-
- // my vars (def)
-
- // ctor
- public Xcls_MenuItem31(ValaProjectSettings _owner )
- {
- _this = _owner;
- this.el = new Gtk.MenuItem();
-
- // my vars (dec)
-
- // set gobject values
- this.el.label = "Add File";
-
- // listeners
- this.el.activate.connect( () => {
-
- var chooser = new Gtk.FileChooserDialog (
- "Add a directory", _this.window.el, Gtk.FileChooserAction.OPEN ,
- "_Cancel",
- Gtk.ResponseType.CANCEL,
- "_Add",
- Gtk.ResponseType.ACCEPT);
- if (chooser.run () != Gtk.ResponseType.ACCEPT) {
- chooser.close ();
- return;
- }
- chooser.close ();
- // add the directory..
- var fn = _this.project.relPath(chooser.get_filename());
- _this.project.compilegroups.get("_default_").sources.add(fn);
- _this.default_directory_tree_store.load();
- });
- }
-
- // user defined functions
- }
- public class Xcls_SeparatorMenuItem32 : Object
+ public class Xcls_SeparatorMenuItem31 : Object
{
public Gtk.SeparatorMenuItem el;
private ValaProjectSettings _this;
// my vars (def)
// ctor
- public Xcls_SeparatorMenuItem32(ValaProjectSettings _owner )
+ public Xcls_SeparatorMenuItem31(ValaProjectSettings _owner )
{
_this = _owner;
this.el = new Gtk.SeparatorMenuItem();
// user defined functions
}
- public class Xcls_MenuItem33 : Object
+ public class Xcls_MenuItem32 : Object
{
public Gtk.MenuItem el;
private ValaProjectSettings _this;
// my vars (def)
// ctor
- public Xcls_MenuItem33(ValaProjectSettings _owner )
+ public Xcls_MenuItem32(ValaProjectSettings _owner )
{
_this = _owner;
this.el = new Gtk.MenuItem();
var child_0 = new Xcls_targets_tree_store( _this );
child_0.ref();
this.el.set_model ( child_0.el );
- var child_1 = new Xcls_TreeViewColumn36( _this );
+ var child_1 = new Xcls_TreeViewColumn35( _this );
child_1.ref();
this.el.append_column ( child_1.el );
}
}
}
- public class Xcls_TreeViewColumn36 : Object
+ public class Xcls_TreeViewColumn35 : Object
{
public Gtk.TreeViewColumn el;
private ValaProjectSettings _this;
// my vars (def)
// ctor
- public Xcls_TreeViewColumn36(ValaProjectSettings _owner )
+ public Xcls_TreeViewColumn35(ValaProjectSettings _owner )
{
_this = _owner;
this.el = new Gtk.TreeViewColumn();
// my vars (dec)
// set gobject values
- var child_0 = new Xcls_Label39( _this );
+ var child_0 = new Xcls_Label38( _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_Label41( _this );
+ var child_2 = new Xcls_Label40( _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_Label43( _this );
+ var child_4 = new Xcls_Label42( _this );
child_4.ref();
this.el.pack_start ( child_4.el , false,false,0 );
- var child_5 = new Xcls_ScrolledWindow44( _this );
+ var child_5 = new Xcls_ScrolledWindow43( _this );
child_5.ref();
this.el.pack_start ( child_5.el , true,true,0 );
}
// user defined functions
}
- public class Xcls_Label39 : Object
+ public class Xcls_Label38 : Object
{
public Gtk.Label el;
private ValaProjectSettings _this;
// my vars (def)
// ctor
- public Xcls_Label39(ValaProjectSettings _owner )
+ public Xcls_Label38(ValaProjectSettings _owner )
{
_this = _owner;
this.el = new Gtk.Label( "target filename" );
// user defined functions
}
- public class Xcls_Label41 : Object
+ public class Xcls_Label40 : Object
{
public Gtk.Label el;
private ValaProjectSettings _this;
// my vars (def)
// ctor
- public Xcls_Label41(ValaProjectSettings _owner )
+ public Xcls_Label40(ValaProjectSettings _owner )
{
_this = _owner;
this.el = new Gtk.Label( "compile flags" );
// user defined functions
}
- public class Xcls_Label43 : Object
+ public class Xcls_Label42 : Object
{
public Gtk.Label el;
private ValaProjectSettings _this;
// my vars (def)
// ctor
- public Xcls_Label43(ValaProjectSettings _owner )
+ public Xcls_Label42(ValaProjectSettings _owner )
{
_this = _owner;
this.el = new Gtk.Label( "Files to compile" );
// user defined functions
}
- public class Xcls_ScrolledWindow44 : Object
+ public class Xcls_ScrolledWindow43 : Object
{
public Gtk.ScrolledWindow el;
private ValaProjectSettings _this;
// my vars (def)
// ctor
- public Xcls_ScrolledWindow44(ValaProjectSettings _owner )
+ public Xcls_ScrolledWindow43(ValaProjectSettings _owner )
{
_this = _owner;
this.el = new Gtk.ScrolledWindow( null, null );
// my vars (dec)
// set gobject values
- var child_0 = new Xcls_ListStore46( _this );
+ var child_0 = new Xcls_ListStore45( _this );
child_0.ref();
this.el.set_model ( child_0.el );
- var child_1 = new Xcls_TreeViewColumn47( _this );
+ var child_1 = new Xcls_TreeViewColumn46( _this );
child_1.ref();
this.el.append_column ( child_1.el );
}
// user defined functions
}
- public class Xcls_ListStore46 : Object
+ public class Xcls_ListStore45 : Object
{
public Gtk.ListStore el;
private ValaProjectSettings _this;
// my vars (def)
// ctor
- public Xcls_ListStore46(ValaProjectSettings _owner )
+ public Xcls_ListStore45(ValaProjectSettings _owner )
{
_this = _owner;
this.el = new Gtk.ListStore( 2, typeof(string), // 0 key type
// user defined functions
}
- public class Xcls_TreeViewColumn47 : Object
+ public class Xcls_TreeViewColumn46 : Object
{
public Gtk.TreeViewColumn el;
private ValaProjectSettings _this;
// my vars (def)
// ctor
- public Xcls_TreeViewColumn47(ValaProjectSettings _owner )
+ public Xcls_TreeViewColumn46(ValaProjectSettings _owner )
{
_this = _owner;
this.el = new Gtk.TreeViewColumn();