Builder/Provider/RooUsage.txt
[app.Builder.js] / XObjectBase / GdlDock.js
index e69de29..50228ee 100644 (file)
@@ -0,0 +1,25 @@
+
+//<Script type="Text/javascript">
+
+XObject = imports.XObject.XObject
+Gdl     = imports.gi.Gdl;
+// Cell render text..
+
+GdlDock = XObject.define(
+    function(cfg) {
+        XObject.call(this, cfg);
+    }, 
+    XObject,
+    {
+        pack : 'add', // default.. can be pack_start...
+        init : function()
+        {
+            
+            // dock for the current window exists. - use it..
+            this.el = this.get('^').dock || new Gdl.Dock ();
+            this.get('^').dock =  this.el ;
+            this.get('^').layout = new Gdl.DockLayout.c_new (this.el);
+            XObject.prototype.init.call(this);
+        }
+    }
+}; 
\ No newline at end of file