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

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

index 4b62e92..4acd908 100644 (file)
@@ -16,6 +16,7 @@
    "$ xns" : "Gtk",
    "items" : [
     {
+     "id" : "view_layout",
      "* pack" : "pack1,true,true",
      "xtype" : "Layout",
      "$ xns" : "Gtk",
index daf5ed7..12db00a 100644 (file)
@@ -12,6 +12,7 @@ public class Xcls_GtkView : Object
         }
         return _GtkView;
     }
+    public Xcls_view_layout view_layout;
     public Xcls_container container;
 
         // my vars (def)
@@ -29,7 +30,7 @@ public class Xcls_GtkView : Object
         this.file = null;
 
         // set gobject values
-        var child_0 = new Xcls_Layout2( _this );
+        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 );
@@ -97,7 +98,7 @@ public class Xcls_GtkView : Object
             this.container.el.add(obj);
             obj.show_all();
     }
-    public class Xcls_Layout2 : Object 
+    public class Xcls_view_layout : Object 
     {
         public Gtk.Layout el;
         private Xcls_GtkView  _this;
@@ -106,9 +107,10 @@ public class Xcls_GtkView : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_Layout2(Xcls_GtkView _owner )
+        public Xcls_view_layout(Xcls_GtkView _owner )
         {
             _this = _owner;
+            _this.view_layout = this;
             this.el = new Gtk.Layout( null, null );
 
             // my vars (dec)