Published 2007-06-03 23:49:00

Signals for the most part are working. I went with the GTK'ish style, rather than the more JS style, eg.

var a = new Gtk.Window(0);
a.connect("delete", function() { Gtk.exit(1); });

That's not to say that it's not trivial to use a more javascript style = in the client side!!!!

Gtk.Widget.prototype.on = function (sig, call) { return this.connect(sig,call); }

There is still quite a bit todo, especially around the more complex widget's like textview, tree and lists. but I suspect the majority of the main widgets should just work.

I'm kind of wondering If I'm announcing this to the wrong audience though, as I dont really get any sense of excitement. I have this wierd vision that GTK and Javascript could be a leap forward in application development. Having written a couple of projects both in scripted and compiled languages, The whole save/[compile]/run/test loop can get very slow, especially as the application grows.

The idea, that to edit the toolbar, and it's behaviour, I would pull up the debugger/editor in the running application (That it'self would be written in gtkjs). Navigate in the tree of objects (AKA Firebug DOM inspector) to the class definition or prototype for the menu. - click edit - bring up a scintilla or GtkSourceView editor, edit the code.. save it.. (editor both saves to disk overwriting the specific code that it needs to), along with compiling and altering the in-memory method - Then type something in the debug command line to for the refresh of the menu... - Or even have the editor know that saving that function would need some js run to test it.. - and it affecting the running application - changing the behavior and look!.

Not only that, the program would not crash, only output to the debug console any unhandled exceptions... - (with line/file/method etc.)

I'm just in awe of the concept of adding a small feature or fixing a bug would by so mind blowingly simple, that you would lower the barriers even further to make more of your users your development team..

Then again other days I wonder if I've been doing to many of those drugs....
Mentioned By:
google.com : april (82 referals)
google.com : december (59 referals)
www.digitalmars.com : Digital Mars - digitalmars.D.announce - Gtk bindings to dmdscript (20 referals)
google.com : GtkJs (19 referals)
www.planet-php.net : Planet PHP (9 referals)
www.tailrank.com : Minor update on gtkjs.. anyone have a vision for this (5 referals)
google.com : 155 (3 referals)
www.tailrank.com : Tailrank - Posts for 'http://akbkhome.com' (1 referals)
www.digitalmars.com : Gtk bindings to dmdscript (digitalmars.D.announce) (1 referals)
www.debian.org.hk : Planet DebianHK | Debian HK (1 referals)
google.com : alprazolam (1 referals)
google.com : anyone have (1 referals)
google.com : mazda (1 referals)
google.com : mortgage (1 referals)
google.com : november (1 referals)
google.com : pharmacies (1 referals)
google.com : php minor (1 referals)
google.com : porche (1 referals)
google.com : propecia (1 referals)
google.com : seiko (1 referals)

Add Your Comment

Follow us on