Browse thread
Desktop GUI toolkits - current state of the art?
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2010-11-24 (09:33) |
From: | Martin DeMello <martindemello@g...> |
Subject: | Re: [Caml-list] Desktop GUI toolkits - current state of the art? |
On Wed, Nov 24, 2010 at 4:36 AM, Jacques Garrigue <garrigue@math.nagoya-u.ac.jp> wrote: > I'm not sure which examples you looked at for lablgtk2. > The goals of lablgtk are: > * be as close as possible to the spirit of Gtk+ > * while providing type and memory safety > * and allow comfortable use through objects and optional arguments > This resulted in a 2-layer implementation, with a lower layer > that just wraps basic Gtk+ calls, and an object layer on top of it. > Some examples mix the two layers, which may look strange, but > I think that when you use only the upper layer, this is clean enough. > (The lower layer is not dirty, but converting between the two may be > verbose and look clumsy). That might be the problem, then. I was looking at the examples in the translation of the gtk tutorial, and a lot of it seemed like C code translated to OCaml. Could you point me to some example of code written using the high level API? > The obvious alternative to lablgtk2 is of course labltk. > I personally think that labltk is still the easiest way to build a GUI, > but many do not like Tk's look&feel. Does labltk have any prospect of being updated for tk 8.5? I tried using it but discovered I'd have to install tk8.4 first. martin