On Dec 29, 2006, at 1:44 AM, Richard Jones wrote:
> On Thu, Dec 28, 2006 at 03:48:46PM -0800, Quôc Peyrot wrote:
> > On Dec 28, 2006, at 2:52 PM, Erik de Castro Lopo wrote:
> > >Quôc Peyrot wrote:
> > >
> > >>Hello,
> > >>
> > >>I was trying to find a good portable GUI library for my ocaml
> > >>projects.
> > >>A natural choice seemed to be wxwindows/wxWidgets since I wanted
> > >>to have a native look'n feel and QT doesn't have any bindings in
> > >>OCaml
> > >>(to my despair... anyone working on QT bindings?)
> > >
> > >Have you looked at lablgtk? I find it up to date and easy to use.
> >
> > Yes I have and it was ok, but it doesn't use native platform's
> controls.
>
> I haven't really looked at this in a long time, but perhaps take a
> look at our cross-platform experiments here:
>
> http://merjis.com/developers/xphelloworld
>
> The basic controls look native (although they are not), but things
> like file & print dialogs will of course be completely different.
> However complete disregard for consistency never seemed to prevent
> Microsoft from releasing Office with custom controls, so ...
Thanks for the link, I think I already took at look at it long time
ago, but I
don't recall exactly. I'll take a look again.
To clarify, I am developing under Mac OS X, so naturally I want
something
working on windows, linux and Mac.
Maybe I should have been more explicit at the beginning, but I already
evaluated gtk, and as a general opinion I don't like it (although the
API is
ok):
It's too much an hassle for the developers to install all the
necessary dependencies.
It's too much an hassle to distribute binaries to _normal_ people,
and finally
it doesn't look native, and under Mac, as far as I know, I have (and
users have) to
start x11 to be able to run the application (although I read rumors
that Apple
will be providing native gtk support in Leopard).
I don't want to sound too picky, but seriously IMHO, it's a mess.
I could also do a communication layer to be able to implement the GUI
using another
language, but that's kind of messy as well just to have a gui...
wxWidgets looked nice: native controls, less than 1M overhead when
distributing the
binaries (from what I read on their website), and easy static linking.
--
Best Regards,
Quôc
.