Clones.bjs
authorAlan Knowles <alan@roojs.com>
Mon, 24 Dec 2018 07:34:42 +0000 (15:34 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 24 Dec 2018 07:34:42 +0000 (15:34 +0800)
Clones.vala

Clones.bjs
Clones.vala

index a7edb5e..25b057d 100644 (file)
      "$ xns" : "Gtk",
      "Gtk.Orientation orientation" : "Gtk.Orientation.VERTICAL",
      "items" : [
+      {
+       "* pack" : "pack_start,?bool?,?bool?,?uint?",
+       "xtype" : "Spinner",
+       "$ xns" : "Gtk"
+      },
       {
        "id" : "toolbar",
        "bool homogeneous" : true,
index 1812b08..179032a 100644 (file)
@@ -127,16 +127,41 @@ public class Clones : Object
             // my vars (dec)
 
             // set gobject values
-            var child_0 = new Xcls_toolbar( _this );
+            var child_0 = new Xcls_Spinner3( _this );
             child_0.ref();
-            this.el.pack_start (  child_0.el , false,false,0 );
-            var child_1 = new Xcls_scrolled( _this );
+            this.el.pack_start (  child_0.el , ?bool?,?bool?,?uint? );
+            var child_1 = new Xcls_toolbar( _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_scrolled( _this );
+            child_2.ref();
+            this.el.pack_end (  child_2.el , true,true,0 );
         }
 
         // user defined functions
     }
+    public class Xcls_Spinner3 : Object
+    {
+        public Gtk.Spinner el;
+        private Clones  _this;
+
+
+            // my vars (def)
+
+        // ctor
+        public Xcls_Spinner3(Clones _owner )
+        {
+            _this = _owner;
+            this.el = new Gtk.Spinner();
+
+            // my vars (dec)
+
+            // set gobject values
+        }
+
+        // user defined functions
+    }
+
     public class Xcls_toolbar : Object
     {
         public Gtk.Box el;
@@ -156,14 +181,14 @@ public class Clones : Object
 
             // set gobject values
             this.el.homogeneous = true;
-            var child_0 = new Xcls_Button4( _this );
+            var child_0 = new Xcls_Button5( _this );
             child_0.ref();
             this.el.add (  child_0.el  );
         }
 
         // user defined functions
     }
-    public class Xcls_Button4 : Object
+    public class Xcls_Button5 : Object
     {
         public Gtk.Button el;
         private Clones  _this;
@@ -172,7 +197,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();