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

Clones.bjs
Clones.vala

index f90d612..ca52060 100644 (file)
@@ -30,6 +30,7 @@
      "Gtk.Orientation orientation" : "Gtk.Orientation.VERTICAL",
      "items" : [
       {
+       "id" : "toolbar",
        "bool homogeneous" : true,
        "xtype" : "Box",
        "* pack" : "pack_start,false,false,0",
index b5e36fa..6f6d78b 100644 (file)
@@ -12,6 +12,7 @@ public class Clones : Object
         }
         return _Clones;
     }
+    public Xcls_toolbar toolbar;
     public Xcls_reposView reposView;
     public Xcls_reposStore reposStore;
     public Xcls_tv_autocommit tv_autocommit;
@@ -125,7 +126,7 @@ public class Clones : Object
             // my vars (dec)
 
             // set gobject values
-            var child_0 = new Xcls_Box3( _this );
+            var child_0 = new Xcls_toolbar( _this );
             child_0.ref();
             this.el.pack_start (  child_0.el , false,false,0 );
             var child_1 = new Xcls_ScrolledWindow5( _this );
@@ -135,7 +136,7 @@ public class Clones : Object
 
         // user defined functions
     }
-    public class Xcls_Box3 : Object
+    public class Xcls_toolbar : Object
     {
         public Gtk.Box el;
         private Clones  _this;
@@ -144,9 +145,10 @@ public class Clones : Object
             // my vars (def)
 
         // ctor
-        public Xcls_Box3(Clones _owner )
+        public Xcls_toolbar(Clones _owner )
         {
             _this = _owner;
+            _this.toolbar = this;
             this.el = new Gtk.Box( Gtk.Orientation.HORIZONTAL, 0 );
 
             // my vars (dec)