GNOME Gtk+ bindings for NodeJS
What is this
A work in progress to bring Gtk+ usable directly from nodejs so that the environemnt would be more udated and supported than the one available via GJS.
Please note this project is currently in an alpha state and it needs more contributors.
How to install
Currently, Linux is the main target but we are working to make this work on OSX too.
If you have installed
gtk3 you should be already OK and off via
npm install node-gtk
Once installed, you can import various namespaces as following:
#!/usr/bin/env nodevarGNode =Gtk = GNodewin;GNode;Gtk;win =title: 'node-gtk'window_position: GtkWindowPositionCENTER;win;win;win;win;win;