Re: Lablwebkit preview
Adrien <[email protected]>
| Newsgroups | gmane.comp.lang.ocaml.lib.gtk |
|---|---|
| Message-ID | <[email protected]> |
I forgot to mention there was a demo app which is built by default. You can find it as lib/dummy_browser with the source being lib/test_browser.ml. It's really very simple. If you want to load something else than caml.inria.fr at startup, run ./dummy_browser 'http://google.com', don't forget the 'http://' part though. The code is very short as you can see. --- Adrien Nader 2009/1/2, Adrien <[email protected]>: > Hi, > > During the last few weeks I started to bind webkit-gtk to ocaml and I > fell like making a preview release. > > I did not have time to thoroughly check the bindings but they should > be mostly working except signals (small changes needed to please the > type-checker). > The bindings are actually generated from the webkit-gtk headers. I > decided to do so because of the size of the webkit library and most > important, because I knew the webkit-gtk API was about to be expanded. > And it has been for the best [1]. > > I also tried to make something that could generate bindings for any > gtk library. The generator is currently a bit tied to webkit-gtk but > the basis is there and I'd be happy to try it on a different library, > I just don't know which one to try. ;-) > > There is currently no documentation and the api will probably change > (the names are longer than needed for instance and a few things are > not accessible ). But as I said this is mostly a preview and I'm > looking for comments and wishes for the library. > > You can find the tarball here : > http://pers.yaxm.org/temp/lablwebkit-preview.tar.gz . > If the headers are not in /usr/include/webkit-1.0, make from the > toplevel with 'WEBKIT_HEADERS=/path/to/headers make'. The path needs > to contain the 'webkit' folder. > > [1] : If you have used webkit-gtk, you have maybe noticed some > problems with new windows and downloads handling. This has recently > changed but is probably only available to git/svn/nightly versions. > > > --- > > Adrien Nader >