Reporting system and potentially Python

John Ralls jralls at ceridwen.us
Thu Jul 7 17:39:43 EDT 2011


On Jul 7, 2011, at 5:06 PM, Phil Longstaff wrote:

> I'm not sure I would use Javascript to create the report code, but I could definitely see embedded Javascript into the reports to make them more interactive.  Any place there is a parent account with children indented an arrow icon could trigger javascript to hide/show the children.
> 
> Does swig generate javascript bindings?  Could we think of using javascript to generate a report?

Unofrtunately, no. What's more, it seems that accessing C library functions from Webkit's Javascript is not easy (Objective-C is another matter [1]). Google wrote their own Javascript engine [2] for Chrome to get around this limitation. There doesn't seem to be a way to embed Chrome into Gtk, so that won't help us, and Gtk MozEmbed didn't work out, so that's not a useful avenue either. Seems Javascript is a non-starter.

Regards,
John Ralls

[1] http://preview.tinyurl.com/4xp72et
[2] http://code.google.com/p/v8/


More information about the gnucash-devel mailing list