well, I am not particularly expert on the topic, as you might notice, but for instance in the webkit component for GTK which can be used in Vala, as far as I remember, you can't provide custom javascript functions and listen for those call from your native code. I might remember wrong though.
Cheers On Jun 11, 10:18 am, zaheer ahmad <[email protected]> wrote: > Sorry i didnt get you. what does bindings have to do with the port. > Isnt it only dependant on the JS engine? > > > > On Fri, Jun 11, 2010 at 2:44 PM, gabon <[email protected]> wrote: > > yeah but afaik you can't do bindings with GTK webkit module. > > > chr > > > On Jun 11, 10:12 am, zaheer ahmad <[email protected]> wrote: > >> you can track this bug for the Gtk > >> porthttps://bugs.webkit.org/show_bug.cgi?id=32452 > > >> On Fri, Jun 11, 2010 at 2:40 PM, gabon <[email protected]> wrote: > >> > I played a bit with its scripting engine, I will have a look to the > >> > webkit module to see if I can really do bindings. > > >> > Cheers, chr > > >> > On Jun 11, 10:09 am, gabon <[email protected]> wrote: > >> >> yep, I know QT and it's something I am definitely keeping an eye on. > >> >> It would be great if they would use v8. > > >> >> Cheers, chr > > >> >> On Jun 11, 10:03 am, Alexander Shabanov <[email protected]> wrote: > > >> >> > I'm not sure whether it solves your problem or not - but you can use > >> >> > Qt. > > >> >> > It is shipped with QtWebKit module that provides fully functional > >> >> > browser components, e.g. renderer, and bundled js engine. > > >> >> > Native code-to-js bindings in Qt is really simple and straightforward > >> >> > (in fact there is no need to write glue code, MOC introduces some sort > >> >> > of "reflection" capabilities to Qt classes what makes them usable from > >> >> > scripts without writing even a line of binding code). > > >> >> > I heard that Nokia planned to replace their js engine with v8 but I'm > >> >> > not sure whether it is at least prototyped. > > >> >> > The biggest flaw is the library size. > > >> >> > 2010/6/11 gabon <[email protected]>: > > >> >> > > This might be a stupid question with the simple answer: use > >> >> > > chromium! > >> >> > > But I was wondering if there was a simple way to add an html > >> >> > > renderer > >> >> > > (webkit I would suppose). Many UI frameworks (Cocoa, GTK, etc..) > >> >> > > support webkit but first don't use V8 and second it's not really > >> >> > > possible (afaik) to do bindings to native code. > > >> >> > > Any idea? Thanks! > > >> >> > > -- > >> >> > > v8-users mailing list > >> >> > > [email protected] > >> >> > >http://groups.google.com/group/v8-users > > >> >> > -- > >> >> > Best regards, > >> >> > Alexander Shabanov > > >> > -- > >> > v8-users mailing list > >> > [email protected] > >> >http://groups.google.com/group/v8-users > > > -- > > v8-users mailing list > > [email protected] > >http://groups.google.com/group/v8-users -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
