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

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-09-16 (20:43)
From: Micha <micha-1@f...>
Subject: Re: [Caml-list] WxWidgets?
Am Thursday 16 September 2004 22:08 schrieb chris.danx:
> Has anyone made such a binding?  If not I was thinking about using swig
> and the wxpython interfaces as the starting point for a wxwidgets
> binding for ocaml.  Has anyone tried to do this in the past?  Any
> thoughts on the issue?

I have started some time ago with this and interfaced a few classes of 
wxwidgets, just to see how it works. I implemented (parts of) the 
application , window and menu classes and parts of the event system ( you can 
use 'connect' to connect ocaml functions to menus events);  So the basic way 
was ok. I just wanted to do something different ;-)

I don't like the swig way so I didn't use it, but it's a pain to go c++ -> c 
-> ocaml, massive typing :-), maybe c++ -> c -> ocamlidl would be better...


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