From b7e09f1eeb68a26e57ad30a6fdee46f8acae31fe Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 20 Apr 2015 15:56:08 +0800 Subject: [PATCH] src/Builder4/ProjectSettings.bjs src/Builder4/ProjectSettings.vala --- src/Builder4/ProjectSettings.bjs | 11 ++++- src/Builder4/ProjectSettings.vala | 79 ++++++++++++++++++++----------- 2 files changed, 62 insertions(+), 28 deletions(-) diff --git a/src/Builder4/ProjectSettings.bjs b/src/Builder4/ProjectSettings.bjs index 0cdc64495..65313172b 100644 --- a/src/Builder4/ProjectSettings.bjs +++ b/src/Builder4/ProjectSettings.bjs @@ -20,7 +20,16 @@ { "* pack" : "pack_start,true,true,0", "xtype" : "Notebook", - "$ xns" : "Gtk" + "$ xns" : "Gtk", + "items" : [ + { + "id" : "label_global", + "xtype" : "Label", + "* pack" : false, + "$ xns" : "Gtk", + "utf8 label" : "Global" + } + ] }, { "* pack" : "pack_start,false,false,0", diff --git a/src/Builder4/ProjectSettings.vala b/src/Builder4/ProjectSettings.vala index 3daa7a12f..5f4153706 100644 --- a/src/Builder4/ProjectSettings.vala +++ b/src/Builder4/ProjectSettings.vala @@ -12,6 +12,7 @@ public class Xcls_ProjectSettings : Object } return _ProjectSettings; } + public Xcls_label_global label_global; public Xcls_path path; public Xcls_base_template base_template; public Xcls_rootURL rootURL; @@ -34,22 +35,22 @@ public class Xcls_ProjectSettings : Object 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_HBox3( _this ); + var child_1 = new Xcls_HBox4( _this ); child_1.ref(); this.el.pack_start ( child_1.el , false,false,0 ); var child_2 = new Xcls_path( _this ); child_2.ref(); this.el.pack_start ( child_2.el , false,false,0 ); - var child_3 = new Xcls_Label7( _this ); + var child_3 = new Xcls_Label8( _this ); child_3.ref(); this.el.pack_start ( child_3.el , false,false,0 ); - var child_4 = new Xcls_HBox8( _this ); + var child_4 = new Xcls_HBox9( _this ); child_4.ref(); this.el.pack_start ( child_4.el , false,false,0 ); - var child_5 = new Xcls_HBox11( _this ); + var child_5 = new Xcls_HBox12( _this ); child_5.ref(); this.el.pack_start ( child_5.el , false,false,0 ); - var child_6 = new Xcls_ScrolledWindow14( _this ); + var child_6 = new Xcls_ScrolledWindow15( _this ); child_6.ref(); this.el.pack_start ( child_6.el , true,true,0 ); } @@ -107,11 +108,35 @@ public class Xcls_ProjectSettings : Object // my vars (dec) // set gobject values + var child_0 = new Xcls_label_global( _this ); + child_0.ref(); } // user defined functions } - public class Xcls_HBox3 : Object + public class Xcls_label_global : Object + { + public Gtk.Label el; + private Xcls_ProjectSettings _this; + + + // my vars (def) + + // ctor + public Xcls_label_global(Xcls_ProjectSettings _owner ) + { + _this = _owner; + _this.label_global = this; + this.el = new Gtk.Label( "Global" ); + + // my vars (dec) + + // set gobject values + } + + // user defined functions + } + public class Xcls_HBox4 : Object { public Gtk.HBox el; private Xcls_ProjectSettings _this; @@ -120,7 +145,7 @@ public class Xcls_ProjectSettings : Object // my vars (def) // ctor - public Xcls_HBox3(Xcls_ProjectSettings _owner ) + public Xcls_HBox4(Xcls_ProjectSettings _owner ) { _this = _owner; this.el = new Gtk.HBox( true, 0 ); @@ -130,17 +155,17 @@ public class Xcls_ProjectSettings : Object // set gobject values this.el.expand = false; this.el.vexpand = false; - var child_0 = new Xcls_Button4( _this ); + var child_0 = new Xcls_Button5( _this ); child_0.ref(); this.el.add ( child_0.el ); - var child_1 = new Xcls_Button5( _this ); + var child_1 = new Xcls_Button6( _this ); child_1.ref(); this.el.add ( child_1.el ); } // user defined functions } - public class Xcls_Button4 : Object + public class Xcls_Button5 : Object { public Gtk.Button el; private Xcls_ProjectSettings _this; @@ -149,7 +174,7 @@ public class Xcls_ProjectSettings : Object // my vars (def) // ctor - public Xcls_Button4(Xcls_ProjectSettings _owner ) + public Xcls_Button5(Xcls_ProjectSettings _owner ) { _this = _owner; this.el = new Gtk.Button(); @@ -170,7 +195,7 @@ public class Xcls_ProjectSettings : Object // user defined functions } - public class Xcls_Button5 : Object + public class Xcls_Button6 : Object { public Gtk.Button el; private Xcls_ProjectSettings _this; @@ -179,7 +204,7 @@ public class Xcls_ProjectSettings : Object // my vars (def) // ctor - public Xcls_Button5(Xcls_ProjectSettings _owner ) + public Xcls_Button6(Xcls_ProjectSettings _owner ) { _this = _owner; this.el = new Gtk.Button(); @@ -223,7 +248,7 @@ public class Xcls_ProjectSettings : Object // user defined functions } - public class Xcls_Label7 : Object + public class Xcls_Label8 : Object { public Gtk.Label el; private Xcls_ProjectSettings _this; @@ -232,7 +257,7 @@ public class Xcls_ProjectSettings : Object // my vars (def) // ctor - public Xcls_Label7(Xcls_ProjectSettings _owner ) + public Xcls_Label8(Xcls_ProjectSettings _owner ) { _this = _owner; this.el = new Gtk.Label( "HTML To insert at end of " ); @@ -244,7 +269,7 @@ public class Xcls_ProjectSettings : Object // user defined functions } - public class Xcls_HBox8 : Object + public class Xcls_HBox9 : Object { public Gtk.HBox el; private Xcls_ProjectSettings _this; @@ -253,7 +278,7 @@ public class Xcls_ProjectSettings : Object // my vars (def) // ctor - public Xcls_HBox8(Xcls_ProjectSettings _owner ) + public Xcls_HBox9(Xcls_ProjectSettings _owner ) { _this = _owner; this.el = new Gtk.HBox( false, 0 ); @@ -262,7 +287,7 @@ public class Xcls_ProjectSettings : Object // set gobject values this.el.expand = false; - var child_0 = new Xcls_Label9( _this ); + var child_0 = new Xcls_Label10( _this ); child_0.ref(); this.el.pack_start ( child_0.el , false,false,0 ); var child_1 = new Xcls_base_template( _this ); @@ -272,7 +297,7 @@ public class Xcls_ProjectSettings : Object // user defined functions } - public class Xcls_Label9 : Object + public class Xcls_Label10 : Object { public Gtk.Label el; private Xcls_ProjectSettings _this; @@ -281,7 +306,7 @@ public class Xcls_ProjectSettings : Object // my vars (def) // ctor - public Xcls_Label9(Xcls_ProjectSettings _owner ) + public Xcls_Label10(Xcls_ProjectSettings _owner ) { _this = _owner; this.el = new Gtk.Label( "HTML template file" ); @@ -315,7 +340,7 @@ public class Xcls_ProjectSettings : Object // user defined functions } - public class Xcls_HBox11 : Object + public class Xcls_HBox12 : Object { public Gtk.HBox el; private Xcls_ProjectSettings _this; @@ -324,7 +349,7 @@ public class Xcls_ProjectSettings : Object // my vars (def) // ctor - public Xcls_HBox11(Xcls_ProjectSettings _owner ) + public Xcls_HBox12(Xcls_ProjectSettings _owner ) { _this = _owner; this.el = new Gtk.HBox( false, 0 ); @@ -333,7 +358,7 @@ public class Xcls_ProjectSettings : Object // set gobject values this.el.expand = false; - var child_0 = new Xcls_Label12( _this ); + var child_0 = new Xcls_Label13( _this ); child_0.ref(); this.el.pack_start ( child_0.el , false,false,0 ); var child_1 = new Xcls_rootURL( _this ); @@ -343,7 +368,7 @@ public class Xcls_ProjectSettings : Object // user defined functions } - public class Xcls_Label12 : Object + public class Xcls_Label13 : Object { public Gtk.Label el; private Xcls_ProjectSettings _this; @@ -352,7 +377,7 @@ public class Xcls_ProjectSettings : Object // my vars (def) // ctor - public Xcls_Label12(Xcls_ProjectSettings _owner ) + public Xcls_Label13(Xcls_ProjectSettings _owner ) { _this = _owner; this.el = new Gtk.Label( "root URL" ); @@ -386,7 +411,7 @@ public class Xcls_ProjectSettings : Object // user defined functions } - public class Xcls_ScrolledWindow14 : Object + public class Xcls_ScrolledWindow15 : Object { public Gtk.ScrolledWindow el; private Xcls_ProjectSettings _this; @@ -395,7 +420,7 @@ public class Xcls_ProjectSettings : Object // my vars (def) // ctor - public Xcls_ScrolledWindow14(Xcls_ProjectSettings _owner ) + public Xcls_ScrolledWindow15(Xcls_ProjectSettings _owner ) { _this = _owner; this.el = new Gtk.ScrolledWindow( null, null ); -- 2.39.2