focus problem with full-screen in Tkinter

Michele Simionato mis6 at pitt.edu
Tue Jul 15 16:42:01 CEST 2003


kevin at cazabon.com (Kevin Cazabon) wrote in message news:<5a4226f0.0307141400.36684d3b at posting.google.com>...
> Wouldn't you have to do the bind as:
> 
> root.bind("q",lambda e: root.destroy())
> 
> I don't know if <q> evaluates to the same thing, but I know that
> "normal" keys are not normally enclosed in <>.  It may or may not be
> part of your problem.
> 
> Kevin.


No, the problem is not with "<q>". I have just discovered that it works
perfectly fine under Windows 98SE, therefore it must be some problem of
configuration of Tk under Linux. Any idea?


          Michele




More information about the Python-list mailing list