gtk for node.js

408 views
Skip to first unread message

Sebastian Wick

unread,
Dec 10, 2010, 3:29:30 PM12/10/10
to nod...@googlegroups.com
I want to do bindings for gtk. Before I want to know if someone is
interested in it and what you think about it.

Nathan Rajlich

unread,
Dec 10, 2010, 3:35:40 PM12/10/10
to nod...@googlegroups.com
+1, I've been wanting someone to take a stab at this!

On Fri, Dec 10, 2010 at 12:29 PM, Sebastian Wick <sebasti...@uselessscripting.de> wrote:
I want to do bindings for gtk. Before I want to know if someone is
interested in it and what you think about it.

--
You received this message because you are subscribed to the Google Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com.
To unsubscribe from this group, send email to nodejs+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/nodejs?hl=en.


Stephen Belanger

unread,
Dec 10, 2010, 4:23:58 PM12/10/10
to nod...@googlegroups.com
Personally, I'm more interested in Qt, but any GUI toolkit is handy.

Niklas

unread,
Dec 10, 2010, 5:27:33 PM12/10/10
to nodejs
Actually I tried doing it without planning, just to give it a try and
to learn about v8. You can have a look at the examples and the code,
e.g: https://github.com/niklasf/node-ui-gtk/blob/master/examples/counter.js
But I think I approched it in a wrong way.

If anyone would try to create a GUI binding in a more serious project
(not too serious but with some hope to get a good result) I would
definetely be intrested in contributing.

On 10 Dez., 22:23, Stephen Belanger <cyruzdr...@gmail.com> wrote:
> Personally, I'm more interested in Qt, but any GUI toolkit is handy.
>
> On Fri, Dec 10, 2010 at 12:35 PM, Nathan Rajlich <nat...@tootallnate.net>wrote:
>
>
>
>
>
>
>
> > +1, I've been wanting someone to take a stab at this!
>
> > On Fri, Dec 10, 2010 at 12:29 PM, Sebastian Wick <
> > sebastian.w...@uselessscripting.de> wrote:
>
> >> I want to do bindings for gtk. Before I want to know if someone is
> >> interested in it and what you think about it.
>
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "nodejs" group.
> >> To post to this group, send email to nod...@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >> nodejs+un...@googlegroups.com<nodejs%2Bunsu...@googlegroups.com>
> >> .
> >> For more options, visit this group at
> >>http://groups.google.com/group/nodejs?hl=en.
>
> >  --
> > You received this message because you are subscribed to the Google Groups
> > "nodejs" group.
> > To post to this group, send email to nod...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > nodejs+un...@googlegroups.com<nodejs%2Bunsu...@googlegroups.com>
> > .

Sebastian Wick

unread,
Dec 10, 2010, 5:44:36 PM12/10/10
to nod...@googlegroups.com
Nice to see others wanting to do these thing! I really want to try it so
the most important at the moment is the design. I thing we should try to
follow the object hierarchy
http://library.gnome.org/devel/gtk/stable/ch01.html Also I only want do
the low level bindings in c++ but there are many thing we first have to
discuss...

Tim Smart

unread,
Dec 10, 2010, 5:44:42 PM12/10/10
to nod...@googlegroups.com
You can take a look at https://github.com/Tim-Smart/node-gtk

Needs some more work, especially in the area of signal handling.

Tim.

To unsubscribe from this group, send email to nodejs+un...@googlegroups.com.

Damian Suarez

unread,
Dec 10, 2010, 6:38:01 PM12/10/10
to nod...@googlegroups.com

Niklas

unread,
Dec 10, 2010, 6:53:08 PM12/10/10
to nodejs
I agree. A higher level wrapper could then easily be done in
JavaScript.

Saying low level ... how low level? Is the class hierarchie
implemented in C++ or are only the basic functions (gtk_*) provided?

On 10 Dez., 23:44, Sebastian Wick <sebastian.w...@uselessscripting.de>
wrote:
> Nice to see others wanting to do these thing! I really want to try it so
> the most important at the moment is the design. I thing we should try to
> follow the object hierarchyhttp://library.gnome.org/devel/gtk/stable/ch01.htmlAlso I only want do

Shimon Doodkin

unread,
Dec 11, 2010, 8:21:24 AM12/11/10
to nodejs
I have seen someone doing bindings templates and configure them by a
json file

http://gluescript.sourceforge.net/?q=node/52

On Dec 10, 10:29 pm, Sebastian Wick

Johan Euphrosine

unread,
Dec 12, 2010, 8:48:13 AM12/12/10
to nod...@googlegroups.com

You should take a look at GObjectIntrospection
(http://live.gnome.org/GObjectIntrospection), there have been
javascript bindings (http://live.gnome.org/JavaScript) built around it
for Mozilla's Spidermonkey and WebKit's JavascriptCore, I believe
similar approach could be used for V8/node.

Hope that helps.

Reply all
Reply to author
Forward
0 new messages