src/JsRender/NodeToGtk.vala
authorAlan Knowles <alan@roojs.com>
Tue, 3 Mar 2015 10:01:06 +0000 (18:01 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 3 Mar 2015 10:01:06 +0000 (18:01 +0800)
src/JsRender/NodeToGtk.vala

index a27a332..c307205 100644 (file)
@@ -147,6 +147,10 @@ public class JsRender.NodeToGtk : Object {
                 
 
        }
+       /**
+        * called after the this.object  has been created
+        * and it needs to be packed onto parent.
+        */
        public void packParent() 
        {
                var cls = this.node.fqn().replace(".", "");
@@ -166,6 +170,11 @@ public class JsRender.NodeToGtk : Object {
                if (parent == null) { // no parent.. can not pack.
                        return;
                }
+               
+               
+               
+               
+               // -------------  handle various child types.. -----------
                // our overrides
                if (cls == "GtkMenu") {
                        this.packMenu();