[ltk-user] ltk-eyes

Peter Herth herth at peter-herth.de
Thu Mar 6 19:56:43 UTC 2008


Hi Neil,

On Thu, Mar 6, 2008 at 8:47 PM, Neil Baylis <neil.baylis at gmail.com> wrote:
> Hi,
>
> I have a couple of newbie questions.
>
> Firstly, I just upgraded to Tk 8.5.1. Since the upgrade, I notice that
> ltk-eyes has a problem. When I click on the window close button, the window
> closes, but control doesn't return to the REPL. I have to interrupt to get
> it back. With the previous Tk (8.4.7) this worked fine. However, ltktest
> works correctly. Is this just a bug in ltk-eyes? Perhaps I need to
> re-install ltk after I upgrade Tk ?

As ltk isn't really installed, there is certainly no need to
"reinstall" it. On the contrary, you can switch the tk used any time
you want by setting the variable *wish-pathname*.
What I am interested in, which Tk for the Mac are you using (wainting
for a proper Tk 8.5 for my mac still)

> Secondly, I tried to use ltk-eyes as a template for a test program, because
> it draws on a canvas and responds to mouse events. So, I copied the entire
> function into a separate file, giving it a new name. When I start it up, the
> window appears normal, except the two eyes are stuck in the top left corner
> of the window, and don't respond to the mouse movement. Since I'm
> (in-package :ltk) when I do this, I can't understand what global state might
> be missing. (This was with Tk 8.4.7. I haven't checked whether I still have
> this problem with Tk 8.5.1).

In doubt always attach your code to the mail, so we can have a look :)

> My system is OSX Leopard PPC with OpenMCL.

I am using an iMac G5 with Tiger, running Allegro or SBCL.

Peter



More information about the ltk-user mailing list