[webkit-dev] XML Events in WebKit
Raj Kiran Talusani
rajkiran.talusani at gmail.com
Mon Dec 10 02:37:22 PST 2007
Maciej,
I am working on Linux+GTK. I think i got some clues from your mail as
to how i can do this. thanks.
raj
On Dec 9, 2007 3:09 PM, Maciej Stachowiak <mjs at apple.com> wrote:
>
> On Dec 7, 2007, at 7:02 PM, Raj Kiran Talusani wrote:
>
> > Guys,
> >
> > thanks very much for all the comments. let me be more specific about
> > my problem.
> >
> > i want to add multimodal capabilities to the webkit. I want to
> > trigger (or communicate with) an external app based on events
> > happening in the xhtml document. Also i want to insert custom events
> > into the XHTML context based on results from the external process.
> > Is there any way i can do this with current version of webkit. any
> > pointers on what needs to be done?
>
> Are you working with the Mac OS X WebKit API? If so, you can use the
> Objective-C DOM API to attach native event listeners, and to inject
> custom events. Alternately, you can use the Objective-C JavaScript
> bindings to export a custom native object to JavaScript, and call that
> from event listeners defined in script or using onxxx handlers. You
> could also use the JavaScript bindings to call JavaScript functions
> that dispatch custom events.
>
> Which way works better will depend on the details of your application.
>
> Regards,
> Maciej
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.webkit.org/pipermail/webkit-dev/attachments/20071210/412ccee1/attachment.html
More information about the webkit-dev
mailing list