How to use the node-gtk.require function in node-gtk

To help you get started, we’ve selected a few node-gtk examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github codejamninja / react-gtk / packages / binding / src / gtk.ts View on Github external
function getGtk(version = '3.0') {
  const Gtk = nodeGtk.require('Gtk', version);
  if (!initialized) {
    initialized = true;
  return Gtk;


GNOME Gtk+ bindings for NodeJS

Latest version published 2 months ago

Package Health Score

71 / 100
Full package analysis