English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] GUI toolkit for Mac OS X ?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-11-13 (08:19)
From: Jacques Garrigue <garrigue@k...>
Subject: Re: [Caml-list] GUI toolkit for Mac OS X ?
From: Sven Luther <luther@dpt-info.u-strasbg.fr>
> Is there any GUI toolkit available for mac OS X ?
> I suppose labltk will work fine as well as graphics too, but what about
> lablgtk ?
> I know it would work if you had an X server available, but is there
> another solution ?

Actually, I've only been able to use those 3 with an X server.
(Xdarwin is very easy to install, and supports the 3 interfaces
perfectly well, and even lablgl)
Since I don't see any Aqua code in otherlibs/graph, I suppose that
there is no support for direct Aqua graphics in Objective Caml.

In theory it should be possible to use labltk with the Aqua version of
Tk. However, there seems to be an issue in how you link your
application. At least, it will not work if you link it as a BSD
command-line application (the application starts, but does not react
to events). And I don't know how you link a normal OSX application
without starting ProjectBuilder.

Jacques Garrigue
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners