"destroy" : "() => {\n Gtk.main_quit();\n}",
"show" : "() => {\n\t\n\tprint(\"resizing window\\n\");\n\tthis.el.resize(1200,500);\n\tprint(\"loading url\\n\");\n\tthis.view.el.load_uri(webkitpdf.opt_url);\n\n}"
},
- "xtype" : "OffscreenWindow",
+ "xtype" : "Window",
"$ xns" : "Gtk",
"items" : [
{
public class BrowserWindow : Object
{
- public Gtk.OffscreenWindow el;
+ public Gtk.Window el;
private BrowserWindow _this;
public static BrowserWindow singleton()
public BrowserWindow()
{
_this = this;
- this.el = new Gtk.OffscreenWindow();
+ this.el = new Gtk.Window( null );
// my vars (dec)