Javascript GTK bindings

Javascript GTK library bindings supported by Gnome, are they asynchronous or synchronous calls? I could not find the details anyway.

I would like to develop a NodeJS module for GTK for building desktop applications.

+6
javascript gtk
source share
2 answers

There is a start to gtk static bindings at https://github.com/Tim-Smart/node-gtk , and I start bindings to the GObject Introspection repository repository at https://github.com/creationix/node-gir . Both are incomplete. Mine is just a roadmap at the moment, but I have developed good planning with people offline.

If you have a specific application that you want to build, and it does not require many widgets, then the easiest way to add these bindings to the Tim Smart repository. My GIR bindings, upon completion, will allow me to use almost any gnome library without keeping the bindings up to date.

+3
source share

GTK is an event loop, so it should be possible. You will need to integrate GMainLoop with the main node circuit.

+1
source share

All Articles