views:

1239

answers:

5

Are there any good, cross platform (SBCL and CLISP at the very least) easy to install GUI libraries?

+12  A: 

Ltk is quite popular, very portable, and reasonably well documented through the Tk docs. Installation on SBCL is as easy as saying:

(require :asdf-install)
(asdf-install:install :ltk)

There's also Cells-Gtk, which is reported to be quite usable but may have a slightly steeper learning curve because of its reliance on Cells.

EDIT: Note that ASDF-INSTALL is integrated this well with SBCL only. Installing libraries from within other Lisp implementations may prove harder. (Personally, I always install my libraries from within SBCL and then use them from all implementations.) Sorry about any confusion this may have caused.

Matthias Benkard
It turned out to not really be a problem, just had to manually compile and load LTK, and then made me a new image, from then onwards its all gone smoothly. Thanks for the pointer.
dsm
+5  A: 

clg is a binding of GTK for Common Lisp. Both complete and lispish.

If you want to design graphical interfaces in CL, you might want to take a look at CLIM, too, which some kind of standard API for GUIs. Allegro and Lispworks have their own implementation of it, and there's a free software one, McCLIM.

Nowhere man
+2  A: 

Also, just found a Smoke library QT bindings, called CommonQt for CL

dsm
+1  A: 

There's also wxCL, providing CFFI bindings for wxWidgets.

Frank Shearar
+1  A: 

LispWorks comes with CAPI, it's portable accross Mac, Windows and Linux and even has some GUI-Builder. It's free for personal use.

Friedrich