[Openmcl-devel] Clozure CL Interface to GTK on Linux

Barry Fishman barry at ecubist.org
Fri Mar 10 07:19:06 PST 2017


On 2017-03-10 07:53:37 +05, Craig Lanning wrote:
> On Thu, 2017-03-09 at 20:37 -0800, R. Matthew Emerson wrote:
>> > 
>> > On Mar 9, 2017, at 1:56 PM, Craig Lanning <craig.t.lanning at gmail.co
>> > m> wrote:
>> > 
>> > I'm running into trouble with the CLX backend for CLIM.
>> > 
>> > I noticed that there seems to be support in Clozure CL for GTK2 on
>> > Linux.  How do I get access to that?  What do I need to load?
>> 
>> I'm not sure it's fair to say that there is "support" for GTK, per
>> se.
>> 
>> There are a couple of example programs in ccl:examples; viz. gtk-
>> minesweeper.lisp and gtk2-clock.lisp.
>
> I found these after I sent my message yesterday.
>
>> Maybe they'll be helpful, but I wouldn't be surprised if these
>> examples have bit-rotted.
>
> I was unable to get them to work.
>
> Is there any other info about how to access the GTK/GNOME GUI system?

There is the quicklisp "cl-gtk2-gtk" package that works well for me (by
itself) in both Clozure and SBCL.

There is a tutorial at:
  https://common-lisp.net/project/cl-gtk2/tutorial.html

I'm not sure how this fits in as a backend for CLIM, although there
is a github package that uses it:
  https://github.com/MakarovAlexey/clim-cl-gtk2

--
Barry Fishman




More information about the Openmcl-devel mailing list