"destroy" : "() => {\n Gtk.main_quit();\n}",
"show" : "() => {\n\tthis.el.resize(1200,500);\n\tthis.view.el.load_uri(webkitpdf.opt_url);\n\n}"
},
- "xtype" : "Window",
+ "xtype" : "OffscreenWindow",
"$ xns" : "Gtk",
"Gtk.WindowType type" : "Gtk.WindowType.TOPLEVEL",
"items" : [
public class BrowserWindow : Object
{
- public Gtk.Window el;
+ public Gtk.OffscreenWindow el;
private BrowserWindow _this;
public static BrowserWindow singleton()
public BrowserWindow()
{
_this = this;
- this.el = new Gtk.Window( Gtk.WindowType.TOPLEVEL );
+ this.el = new Gtk.OffscreenWindow();
// my vars (dec)
// set gobject values
+ this.el.type = Gtk.WindowType.TOPLEVEL;
var child_0 = new Xcls_ScrolledWindow2( _this );
child_0.ref();
this.el.add ( child_0.el );