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
Cross-platform "Hello, World" graphical application in OCaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-02-22 (17:23)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] Cross-platform "Hello, World" graphical application in OCaml
On Tue, Feb 22, 2005 at 09:05:57AM -0800, Blair Zajac wrote:
> What would it take to have a native Mac OS X interface that doesn't use X11?

The code uses lablgtk2 for the interface.  If you look in the source
you'll see a ~10 line program called "" which uses the
lablgtk2 API.  On Windows, widgets are rendered using Gtk with a
Windows theme applied, so they're not native widgets, although they
look like it.

To get true native widgets across all three major platforms you'd have
to use a different API completely.  WxWidgets is the obvious choice
(  You'd probably want to start with
SooHyoung Oh's wxcaml
( which was built
using CamlIDL from the WxWidgets headers.

WxWindows isn't really suitable for what I want to do because it
doesn't support a rich canvas widget, nor a good rich text editor.


Richard Jones, CTO Merjis Ltd.
Merjis - web marketing and technology -
Team Notepad - intranets and extranets for business -