Delivered-To: garrigue at math.nagoya-u.ac.jp Authentication-Results: mailhost.math.nagoya-u.ac.jp sender=lablgtk-bounces at yquem.inria.fr; domainkey=neutral (no query protocol specified; no policy for yquem.inria.fr) Delivered-To: lablgtk at yquem.inria.fr DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=gpU1Bittb9hV0f0PVRclYp3J4Wig7Xy69KxaWjiqdqc=; b=lQRBqvs4P1fMZVNrg37b18Gapu883lRbmc+82ec3Vzh7tlxZKv7ea6GYpBoVBZGIcr W0qaywqTiSOm2UIqNsEZ3vQ5g9BGlFKGRXIiHePQ2CE2oOABm/wIP9xzQsRxwXBh2Mqz /FzgYG0kgwiy97B4kXiiUrKO2+3s1v9GC+mgY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=X+69izwl/gk7vtWqLQbSdc83iUeQjdwVQyINPX2TSfIgSjwgx8Sh5T9Q2iGR+6kLIP xoP1YTIXbYEGHKh6/PCdBwwWsnP3VV73XHac9VhoUpjoPX7GoCjlz8vI033JIbC1pooI b96rZEhcD3D2sw3k4iFv727d4dWtal8thc1ks= Message-ID: <666572260901030319o1fb9cc04tf6e64b8aeb492815 at mail.gmail.com> Date: Sat, 3 Jan 2009 12:19:41 +0100 From: Adrien To: lablgtk Subject: Re: [Lablgtk] Lablwebkit preview In-Reply-To: <666572260901021144i1059d893jb018b5cd662b2644 at mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <666572260901021144i1059d893jb018b5cd662b2644 at mail.gmail.com> 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 : > 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 > _______________________________________________ Lablgtk mailing list Lablgtk@yquem.inria.fr http://yquem.inria.fr/cgi-bin/mailman/listinfo/lablgtk