Subject: Re: Common CL GUI
From: rpw3@rpw3.org (Rob Warnock)
Date: Tue, 05 Nov 2002 04:14:34 -0600
Newsgroups: comp.lang.lisp
Message-ID: <xcidnWz1uLyXB1qgXTWcpw@giganews.com>
Kenny Tilton  <ktilton@nyc.rr.com> wrote:
+---------------
| Someone suggested wxWindows. Looks huge, but what do I do with the C++ 
| classes? We should be building a /Lisp/ GUI. I love the idea of 
| leveraging existing libraries, but not where I am buying into a 
| framework, I just want the display capabilities (events are easy) so the 
| framework can be in Lisp (where Lisp users can get at it).
+---------------

Look at how PLT Scheme, or rather, MrEd, the application- & GUI-builder
that runs under DrScheme does it. They use a slightly modified version
of wxWindows for their cross-platform (MS, Mac, Unix) GUI base, and IIRC
import the C++ classes fairly straightforwardly into MzScheme's single-
inheritance object system. See <URL:http://www.plt-scheme.org/software/mred/>
for more details.

Note that it does use MzScheme's thread system ("Lisp threads", as people
were calling it at ILC 2002, not "O/S threads"), so trying to copy what
they did directly would almost certainly need a Lisp implementation with
some kind of threads...


-Rob

-----
Rob Warnock, PP-ASEL-IA		<rpw3@rpw3.org>
627 26th Avenue			<URL:http://www.rpw3.org/>
San Mateo, CA 94403		(650)572-2607