I've chosen a different strategy and instead of listening to JS calls
I export a C function using the JSObjectMakeFunctionWithCallback()
function call. The problem is I don't know what to do with the
returned JSObjectRef object. Must I attach it to the JSGlobalContext?
For now I'm getting "Can't find variable" if I call my function from
JavaScript.

Any suggestions?

Greets,
Luka

2009/9/10 Luka Napotnik <[email protected]>:
> Hello.
>
> I want to know if it's possible to catch a Javascript event from WebCore.
> I have a JavaScript function that will be called when some event
> happens. Now I want to bind the function to a C function I wrote using
> the Gtk+ port. Seeing such projects such as seed which  binds JS and
> Gtk+ I guess it's possible.
>
> Is there some JavaScript API I can call and get JS events eg. function calls?
>
> Greets,
> Luka
>
_______________________________________________
webkit-help mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-help

Reply via email to