最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Javascript GTK bindings - Stack Overflow

programmeradmin1浏览0评论

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.

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.

Share Improve this question edited May 18, 2012 at 15:12 Rixius asked Jul 28, 2010 at 17:19 RixiusRixius 2,3233 gold badges24 silver badges33 bronze badges 2
  • 1 No I have not, TBH, Sadly the requirements of the paying job outweighs the personal projects – Rixius Commented Mar 28, 2011 at 20:07
  • logic clearly dictates that the needs of the many outweigh the needs of the few -- spock – Prof. Falken Commented Sep 1, 2012 at 18:56
Add a ment  | 

2 Answers 2

Reset to default 3

There is the start of static gtk bindings at https://github./Tim-Smart/node-gtk and I'm starting bindings to GObject Introspection Repository at https://github./creationix/node-gir. Both are inplete. 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 plete 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.

发布评论

评论列表(0)

  1. 暂无评论