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

index fea6913..375cf41 100644 (file)
@@ -160,15 +160,26 @@ public class JsRender.NodeToGtk : Object {
 
        }
        
-       function afterChildren()
+       public void  afterChildren()
        {
                // things like GtkNotebook - we have to pack children after they have been created..
+               var cls = this.node.fqn().replace(".", "");
+               
+               if (cls == "GtkNotebook") {
+                       this.afterChildrenGtkNotebook();
+               }
+               
                
                
+       }
+       
+       public void  afterChildrenGtkNotebook()
+       {
                
                
        }
        
+       
        /**
         * called after the this.object  has been created
         * and it needs to be packed onto parent.