1 //<Script type="Text/javascript">
3 XObject = imports.XObject.XObject
6 // children are not added at init / but at show stage..
7 // listener is added on show..
8 // we should really add a hock to destroy it..
11 pack : function(parent, item)
14 if (XObject.type(parent.xtype) == 'GtkScrolledWindow') {
15 parent.el.add(this.el);
18 XObject.fatal("do not know how to pack webview to" + XObject.type(parent.xtype));