src/Builder4/GtkView.bjs
authorAlan Knowles <alan@roojs.com>
Mon, 23 Mar 2015 09:57:40 +0000 (17:57 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 23 Mar 2015 09:57:40 +0000 (17:57 +0800)
src/Builder4/GtkView.vala

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

index c8a2a09..a0ece5a 100644 (file)
@@ -30,6 +30,7 @@
      ]
     },
     {
+     "id" : "compile_view",
      "* pack" : "pack2,true,true",
      "xtype" : "VBox",
      "gboolean homogeneous" : false,
index 22cc9be..aa5e8b2 100644 (file)
@@ -14,6 +14,7 @@ public class Xcls_GtkView : Object
     }
     public Xcls_view_layout view_layout;
     public Xcls_container container;
+    public Xcls_compile_view compile_view;
 
         // my vars (def)
     public Gtk.Widget lastObj;
@@ -33,7 +34,7 @@ public class Xcls_GtkView : Object
         var child_0 = new Xcls_view_layout( _this );
         child_0.ref();
         this.el.pack1 (  child_0.el , true,true );
-        var child_1 = new Xcls_VBox4( _this );
+        var child_1 = new Xcls_compile_view( _this );
         child_1.ref();
         this.el.pack2 (  child_1.el , true,true );
     }
@@ -153,7 +154,7 @@ public class Xcls_GtkView : Object
 
         // user defined functions 
     }
-    public class Xcls_VBox4 : Object 
+    public class Xcls_compile_view : Object 
     {
         public Gtk.VBox el;
         private Xcls_GtkView  _this;
@@ -162,9 +163,10 @@ public class Xcls_GtkView : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_VBox4(Xcls_GtkView _owner )
+        public Xcls_compile_view(Xcls_GtkView _owner )
         {
             _this = _owner;
+            _this.compile_view = this;
             this.el = new Gtk.VBox( false, 0 );
 
             // my vars (dec)