UNPKG

node-gtk

Version:

GNOME Gtk+ bindings for NodeJS

11 lines (8 loc) 152 B
/* * preload.js */ global.gi = require('../') global.gtk = gi.require('Gtk', '3.0') global.gdk = gi.require('Gdk', '3.0') gtk.init([]) gdk.init([])