CL
iki
the common lisp wiki
Home
Recent Changes
About CLiki
Text Formatting
Create New Page
Edit ``GTK binding''
This page lists Common Lisp bindings for the *(GTK) *(graphics toolkit). /("gtk binding" :attribute :topic :match :exact :case-sensitive nil) A few comments by _(JCh):
_(cl-gtk2) seems to be latest and active as of Sept 2009.
_(clg) is possibly the nicest of the lot. It's complete (autogenerated) and very lisp-ish (GTK classes are represented as instances of a subclass of :(CLHS "standard-class"), you just :(CLHS "make-instance") them); unfortunately, it currently only works with recent versions of CMUCL and SBCL;
_(lambda-gtk) is complete (autogenerated), but not very lispish; GTK objects are just untyped alien pointers (the Lisp incarnation of C's
void*
);
_(lgtk) is lispish enough, but incomplete (it's hand-written);
I haven't looked at _(cl-gtk).
Another note: Clozure CL ships with gtk2 support in the form of a simple autogenerated binding (through the same ffi interface used for all native Clozure bindings). It's not lispy at all, but it works (you might want/have to re-run the binding generation script though). It should also bring in support for cairo, pango, etc.
Please supply your name and a summary of changes for the Recent Changes page. If you are making a minor alteration to a page you recently edited, you can avoid making another Recent Changes entry by leaving the Summary box blank
Summary of changes:
Captcha (enter the word "lisp" here):
Your name:
Check this box to fill in your name automatically next time
(uses a cookie)