The Bindings for the GTK library in Javascript maintained by Gnome, are they asynchronous or synchronous calls? I have not been able to find details one way or the other.
I would like to develop a NodeJS module for GTK for desktop app creation.
Developers can easily integrate GJS with GTK and create powerful GTK applications using JavaScript.
GTK is an object-oriented widget toolkit written in the programming language C; it uses GObject, that is the GLib object system, for the object orientation.
A feature-rich development tool. GTK has all the features that a widget toolkit needs to have. These features make it the most trusted toolkit for developing Linux applications.
There is the start of static gtk bindings at https://github.com/Tim-Smart/node-gtk and I'm starting bindings to GObject Introspection Repository at https://github.com/creationix/node-gir. Both are incomplete. Mine is just a roadmap at the moment, but I've worked out some good planning with people offline.
If you have a specific app in mind you want to build and it doesn't require many widgets, then it might be easiest to just add those bindings to Tim Smart's repo. My GIR bindings, once complete will allow usage of pretty much any gnome library without having to keep bindings up to date.
GTK is event loop based, so this should be possible. You'll have to integrate GMainLoop with node's main loop.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With