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 ?
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).
My system is OSX Leopard PPC with OpenMCL.
Thanks,
Neil Baylis
Hi Neil,
On Thu, Mar 6, 2008 at 8:47 PM, Neil Baylis neil.baylis@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
Thanks, Peter.
I'm using the following Tk:
http://www.tcl.tk/software/tcltk/download.html
I downloaded it this morning and built it successfully. The included wish has a menu item with extensive demo programs. Very handy.
I'll re-post later with my test program to demonstrate the eyes problem.
Neil