Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] lablgtk status on Mac OS X
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-07-29 (18:25)
From: Jed Davis <jdev@p...>
Subject: [Caml-list] Re: lablgtk status on Mac OS X
Stephane Legrand <> writes:

> Hello,
> Does anyone know the current status of lablgtk/lablgtk2 on Mac OS X ?
> According to Google, it seems that : 
> - lablgtk (for gtk+-1.2.x) works because, for instance, mlDonkey seems
>   to work including the GTK GUI.

I got the file synchronizer Unison to work with lablgtk on OS X, but
only with X11 gtk.  There's a port of gtk to the native graphics
system (, but it had some problems: lablgtk has
a method for extracting the X11 window id from the gtk window struct,
which I had to stub out so lablgtk would build, but even then I just
got a lot of gtk error messages and a crashed program for trying to
use Unison with it.  (At that point I gave up and used the X11 gtk
rather than investigating further.)

> - lablgtk2 (for gtk+-2.x.x) : ?? 
>   I didn't find anything about this. GTK+-2 and OCaml are available on
>   Mac OS X but does anyone has ever tried to compile/use lablgtk2 ?

Well, it compiles, but I haven't tried using it yet...

Jed Davis               |"But life wasn't yes-no, on-off.  Life was shades of
<>        | gray, and rainbows not in the order of the spectrum."
<>|   -- L. E. Modesitt, Jr., _Adiamante_
PGP key (fingerable) F33659F9 A098:903E:9B9A:DEF4:168F:AA09:BF07:807E:F336:59F9

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: