[ltk-user] resizing canvas, exiting main loop, fullscreen

cage cage at katamail.com
Fri Apr 27 13:53:24 UTC 2012


On Fri, Apr 27, 2012 at 01:53:38PM +0200, Tamas K Papp wrote:
> Hi,

Hello!
 
>         (bind canvas "<ButtonPress-2>"
>               (lambda (evt)
>                 (declare (ignore evt))
>                 (setf *exit-mainloop* t)))))))
> 
> However, 
> 
> a. the application does not exit (maybe I am doing it wrong, I found
> *exit-mainloop* in some examples),

I can not help for the rest of the questions but "buttonpress-2" binds
to the "wheel" button of the mouse on my system, try "<ButtonPress-3>"
instead.

Bye.
C.




More information about the ltk-user mailing list