Builder4/GtkView.bjs.H48AMX
authorAlan Knowles <alan@roojs.com>
Wed, 10 Sep 2014 10:13:33 +0000 (18:13 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 10 Sep 2014 10:13:33 +0000 (18:13 +0800)
Builder4/GtkView.bjs
Builder4/GtkView.js.Q79AMX
Builder4/GtkView.js
Builder4/GtkView.vala.0EZAMX
Builder4/GtkView.vala

Builder4/GtkView.bjs
Builder4/GtkView.js
Builder4/GtkView.vala

index e844fe4..59b7e9c 100644 (file)
             "| void addNodeChildren" : "(Object? parent, JsRender.Node node) { \n\n    var iter = node.items.list_iterator();\n    while (iter.next()) {\n        this.addNode(parent, iter.get());\n    }\n}\n",
             "items" : [
                 {
+                    "id" : "container",
                     "* pack" : "add",
                     "xtype" : "HBox",
-                    "$ xns" : "Gtk",
-                    "* id" : "container"
+                    "$ xns" : "Gtk"
                 }
             ]
         }
index 3a5735e..f207d57 100644 (file)
@@ -87,6 +87,7 @@ GtkView=new XObject({
     },
     items : [
        {
+            id : "container",
             xtype : "HBox",
             xns : Gtk
         }
index 07feed7..d9bce62 100644 (file)
@@ -12,6 +12,7 @@ public class Xcls_GtkView : Object
         }
         return _GtkView;
     }
+    public Xcls_container container;
 
         // my vars (def)
 
@@ -114,6 +115,7 @@ public class Xcls_GtkView : Object
         public Xcls_container(Xcls_GtkView _owner )
         {
             _this = _owner;
+            _this.container = this;
             this.el = new Gtk.HBox( true, 0 );
 
             // my vars (dec)