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

Clones.bjs
Clones.vala

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