+
+//<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