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 WebKitWebView = XObject.define(
13 XObject.call(this, cfg);
18 pack : function(parent, item)
21 if (XObject.type(parent.xtype) == 'GtkScrolledWindow') {
22 parent.el.add(this.el);
25 XObject.fatal("do not know how to pack webview to" + XObject.type(parent.xtype));