this.el.default_width = 600;
this.el.deletable = true;
this.el.modal = true;
- var child_0 = new Xcls_VBox2( _this );
+ var child_0 = new Xcls_Box2( _this );
child_0.ref();
this.el.get_content_area().add ( child_0.el );
var child_1 = new Xcls_Button9( _this );
//listeners
this.el.destroy_event.connect( (self, event) => {
- this.el.response(0);
+ this.el.response(0);
// this.el.hide();
return false;
});
//this.success = c.success;
}
- public class Xcls_VBox2 : Object
+ public class Xcls_Box2 : Object
{
- public Gtk.VBox el;
+ public Gtk.Box el;
private EditProject _this;
// my vars (def)
// ctor
- public Xcls_VBox2(EditProject _owner )
+ public Xcls_Box2(EditProject _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
- var child_0 = new Xcls_HBox3( _this );
+ this.el.homogeneous = false;
+ this.el.expand = true;
+ var child_0 = new Xcls_Box3( _this );
child_0.ref();
this.el.pack_start ( child_0.el , false,true,3 );
var child_1 = new Xcls_dir( _this );
// user defined functions
}
- public class Xcls_HBox3 : Object
+ public class Xcls_Box3 : Object
{
- public Gtk.HBox el;
+ public Gtk.Box el;
private EditProject _this;
// my vars (def)
// ctor
- public Xcls_HBox3(EditProject _owner )
+ public Xcls_Box3(EditProject _owner )
{
_this = _owner;
- this.el = new Gtk.HBox( false, 0 );
+ this.el = new Gtk.Box( Gtk.Orientation.HORIZONTAL, 0 );
// my vars (dec)
// set gobject values
+ this.el.homogeneous = false;
var child_0 = new Xcls_Label4( _this );
child_0.ref();
this.el.pack_start ( child_0.el , false,true,3 );
}
return "";
}
- public void setValue (v) {
- var el = this.el;
- el.set_active(-1);
-
- for (var i =0;i < this.data.length; i++ ) {
- if (v == this.data.nth_datA(i)) {
- el.set_active(ix);
- return false;
- }
- }
- }
}
public class Xcls_cellrender : Object
{
// my vars (dec)
// set gobject values
+ this.el.expand = true;
this.el.create_folders = false;
this.el.select_multiple = false;
}