Clones.bjs
authorAlan Knowles <alan@roojs.com>
Tue, 30 Oct 2018 05:15:56 +0000 (13:15 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 30 Oct 2018 05:15:56 +0000 (13:15 +0800)
Clones.vala

Clones.bjs
Clones.vala

index d09beab..15275c2 100644 (file)
      "xtype" : "Box",
      "$ xns" : "Gtk",
      "items" : [
+      {
+       "xtype" : "Box",
+       "$ xns" : "Gtk"
+      },
       {
        "* pack" : "pack_start,false,false,0",
        "xtype" : "Box",
index 12b5325..4c2eadc 100644 (file)
@@ -96,10 +96,12 @@ public class Clones : Object
             // my vars (dec)
             var child_0 = new Xcls_Box3( _this );
             child_0.ref();
-            this.el.pack_start (  child_0.el , false,false,0 );
-            var child_1 = new Xcls_ScrolledWindow9( _this );
+            var child_1 = new Xcls_Box4( _this );
             child_1.ref();
-            this.el.pack_end (  child_1.el , true,true,0 );
+            this.el.pack_start (  child_1.el , false,false,0 );
+            var child_2 = new Xcls_ScrolledWindow10( _this );
+            child_2.ref();
+            this.el.pack_end (  child_2.el , true,true,0 );
         }
 
         // user defined functions
@@ -119,26 +121,46 @@ public class Clones : Object
             this.el = new Gtk.Box();
 
             // my vars (dec)
-            var child_0 = new Xcls_Button4( _this );
+        }
+
+        // user defined functions
+    }
+
+    public class Xcls_Box4 : Object
+    {
+        public Gtk.Box el;
+        private Clones  _this;
+
+
+            // my vars (def)
+
+        // ctor
+        public Xcls_Box4(Clones _owner )
+        {
+            _this = _owner;
+            this.el = new Gtk.Box();
+
+            // my vars (dec)
+            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  );
-            var child_2 = new Xcls_Button6( _this );
+            var child_2 = new Xcls_Button7( _this );
             child_2.ref();
             this.el.add (  child_2.el  );
-            var child_3 = new Xcls_Button7( _this );
+            var child_3 = new Xcls_Button8( _this );
             child_3.ref();
             this.el.add (  child_3.el  );
-            var child_4 = new Xcls_Button8( _this );
+            var child_4 = new Xcls_Button9( _this );
             child_4.ref();
             this.el.add (  child_4.el  );
         }
 
         // user defined functions
     }
-    public class Xcls_Button4 : Object
+    public class Xcls_Button5 : Object
     {
         public Gtk.Button el;
         private Clones  _this;
@@ -147,7 +169,7 @@ public class Clones : Object
             // my vars (def)
 
         // ctor
-        public Xcls_Button4(Clones _owner )
+        public Xcls_Button5(Clones _owner )
         {
             _this = _owner;
             this.el = new Gtk.Button();
@@ -203,7 +225,7 @@ public class Clones : Object
         // user defined functions
     }
 
-    public class Xcls_Button5 : Object
+    public class Xcls_Button6 : Object
     {
         public Gtk.Button el;
         private Clones  _this;
@@ -212,7 +234,7 @@ public class Clones : Object
             // my vars (def)
 
         // ctor
-        public Xcls_Button5(Clones _owner )
+        public Xcls_Button6(Clones _owner )
         {
             _this = _owner;
             this.el = new Gtk.Button();
@@ -269,7 +291,7 @@ public class Clones : Object
         // user defined functions
     }
 
-    public class Xcls_Button6 : Object
+    public class Xcls_Button7 : Object
     {
         public Gtk.Button el;
         private Clones  _this;
@@ -278,7 +300,7 @@ public class Clones : Object
             // my vars (def)
 
         // ctor
-        public Xcls_Button6(Clones _owner )
+        public Xcls_Button7(Clones _owner )
         {
             _this = _owner;
             this.el = new Gtk.Button();
@@ -336,7 +358,7 @@ public class Clones : Object
         // user defined functions
     }
 
-    public class Xcls_Button7 : Object
+    public class Xcls_Button8 : Object
     {
         public Gtk.Button el;
         private Clones  _this;
@@ -345,7 +367,7 @@ public class Clones : Object
             // my vars (def)
 
         // ctor
-        public Xcls_Button7(Clones _owner )
+        public Xcls_Button8(Clones _owner )
         {
             _this = _owner;
             this.el = new Gtk.Button();
@@ -366,7 +388,7 @@ public class Clones : Object
         // user defined functions
     }
 
-    public class Xcls_Button8 : Object
+    public class Xcls_Button9 : Object
     {
         public Gtk.Button el;
         private Clones  _this;
@@ -375,7 +397,7 @@ public class Clones : Object
             // my vars (def)
 
         // ctor
-        public Xcls_Button8(Clones _owner )
+        public Xcls_Button9(Clones _owner )
         {
             _this = _owner;
             this.el = new Gtk.Button();
@@ -397,7 +419,7 @@ public class Clones : Object
     }
 
 
-    public class Xcls_ScrolledWindow9 : Object
+    public class Xcls_ScrolledWindow10 : Object
     {
         public Gtk.ScrolledWindow el;
         private Clones  _this;
@@ -406,7 +428,7 @@ public class Clones : Object
             // my vars (def)
 
         // ctor
-        public Xcls_ScrolledWindow9(Clones _owner )
+        public Xcls_ScrolledWindow10(Clones _owner )
         {
             _this = _owner;
             this.el = new Gtk.ScrolledWindow();