I did a simple application in gtk moz under Linux Mandrake, and i want a communication between Javasctipt and C.
I wondered if this is possible to call C functions from javascript and call javascript functions from my gtk app. I know that under Windows it's possible.
I don't really understand what you are trying to do. Try to take a look at http://www.mozilla.org/scriptable/. This might do everything you need.
If you want to so something like actually call a js function from C, you can look at the xpinstall code
http://lxr.mozilla.org/seamonkey/source/xpinstall/.
Here we push objects directly into the javascript namespace. However, this isn't for the weak of heart; I would suggest sticking to the scriptable components.
Regards, Doug Turner _______________________________________________ mozilla-embedding mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-embedding
