const Gtk = imports.gi.Gtk;
const Mainloop = imports.mainloop;

Gtk.init(null);

let w = new Gtk.Window();
w.set_default_size(300, 300);
w.show();

Mainloop.timeout_add(5000, function() {
   Gtk.main_quit();
});

Gtk.main();

