From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id JAA01244; Fri, 17 Sep 2004 09:53:56 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id JAA01352 for ; Fri, 17 Sep 2004 09:53:55 +0200 (MET DST) Received: from smtp08.web.de (smtp08.web.de [217.72.192.226]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id i8H7rsJQ013032 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Fri, 17 Sep 2004 09:53:55 +0200 Received: from [82.82.144.54] (helo=discworld) by smtp08.web.de with asmtp (TLSv1:RC4-MD5:128) (WEB.DE 4.101 #44) id 1C8DYa-0001ne-00; Fri, 17 Sep 2004 09:53:24 +0200 From: Benedikt Grundmann To: Richard Jones Subject: Re: [Caml-list] WxWidgets? Date: Fri, 17 Sep 2004 09:53:20 +0200 User-Agent: KMail/1.7 Cc: Caml Mailing List References: <4149F2D0.7040408@ntlworld.com> <20040916202511.GA24789@annexia.org> In-Reply-To: <20040916202511.GA24789@annexia.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200409170953.20973.Benedikt-Grundmann@web.de> X-Sender: Benedikt-Grundmann@web.de X-Miltered: at nez-perce with ID 414A9812.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; benedikt:01 grundmann:01 caml-list:01 wrappers:01 2004:99 2004:99 swig:01 wxpython:01 python:01 python:01 swig:01 benedikt:01 grundmann:01 mate:99 terry:99 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi, 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. Cheers, Bene 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> 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> 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 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