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] WxWidgets?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-09-17 (07:53)
From: Benedikt Grundmann <Benedikt-Grundmann@w...>
Subject: Re: [Caml-list] WxWidgets?

The wxEiffel project did a C wrapper of wxWidgets which is also used
by the wxHaskell project.  Using these wrappers could propably save
you a lot of time.



On Thursday 16 September 2004 22:25, Richard Jones wrote:
RJ> On Thu, Sep 16, 2004 at 09:08:48PM +0100, chris.danx wrote:
RJ> > Has anyone made such a binding?  If not I was thinking about using swig 
RJ> > and the wxpython interfaces as the starting point for a wxwidgets 
RJ> > binding for ocaml.  Has anyone tried to do this in the past?  Any 
RJ> > thoughts on the issue?
RJ> (2) There seem to be three decent approaches to using WxWidgets under
RJ> OCaml: Python, Perl or native.  Native is going to be the best, but is
RJ> going to take a heck of a lot of effort.
RJ> (3) Python or Perl: it's easiest just to use PyCaml or Perl4Caml to
RJ> interface with the Wx* libraries under those languages.  I don't see
RJ> why you'd want to go through SWIG for this.
RJ> (4) Native: definitely the best performance and the cleanest approach,
RJ> however it's lots of work.  (Now of course if you wanted to *hire*
RJ> Merjis to do the work, contact me off-list ... :-)

Benedikt Grundmann

For animals, the entire universe has been neatly divided into things 
to (a) mate with, (b) eat, (c) run away from, and (d) rocks.
--- (Terry Pratchett, Equal Rites) ---

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