src/Builder4/GtkView.bjs
authorAlan Knowles <alan@roojs.com>
Mon, 23 Mar 2015 10:05:21 +0000 (18:05 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 23 Mar 2015 10:05:21 +0000 (18:05 +0800)
src/Builder4/GtkView.vala

src/Builder4/GtkView.bjs
src/Builder4/GtkView.vala

index 04cf0df..55283c5 100644 (file)
@@ -36,9 +36,8 @@
      "$ xns" : "Gtk",
      "items" : [
       {
-       "id" : "compile_button",
-       "* pack" : "pack_start,false,false,0",
        "xtype" : "HBox",
+       "* pack" : "pack_start,false,false,0",
        "$ xns" : "Gtk",
        "items" : [
         {
index 3788e86..f48eb4e 100644 (file)
@@ -14,7 +14,6 @@ public class Xcls_GtkView : Object
     }
     public Xcls_view_layout view_layout;
     public Xcls_container container;
-    public Xcls_compile_button compile_button;
     public Xcls_compile_view compile_view;
 
         // my vars (def)
@@ -181,7 +180,7 @@ public class Xcls_GtkView : Object
             // my vars (dec)
 
             // set gobject values
-            var child_0 = new Xcls_compile_button( _this );
+            var child_0 = new Xcls_HBox5( _this );
             child_0.ref();
             this.el.pack_start (  child_0.el , false,false,0 );
             var child_1 = new Xcls_compile_view( _this );
@@ -191,7 +190,7 @@ public class Xcls_GtkView : Object
 
         // user defined functions 
     }
-    public class Xcls_compile_button : Object 
+    public class Xcls_HBox5 : Object 
     {
         public Gtk.HBox el;
         private Xcls_GtkView  _this;
@@ -200,10 +199,9 @@ public class Xcls_GtkView : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_compile_button(Xcls_GtkView _owner )
+        public Xcls_HBox5(Xcls_GtkView _owner )
         {
             _this = _owner;
-            _this.compile_button = this;
             this.el = new Gtk.HBox( true, 0 );
 
             // my vars (dec)