Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Python (http://www.velocityreviews.com/forums/f43-python.html)
-   -   Re: focus problem with full-screen in Tkinter (http://www.velocityreviews.com/forums/t319712-re-focus-problem-with-full-screen-in-tkinter.html)

Frank Niessink 07-15-2003 02:44 PM

Re: focus problem with full-screen in Tkinter
 
On Mon Jul 14 11:56:23 2003, Michele Simionato wrote:
> I have a problem with full screen windows in Tkinter.
> Here is a minimal script showing the problem:
>
> from Tkinter import *
> root=Tk()
> w, h = root.winfo_screenwidth(), root.winfo_screenheight()
> root.geometry("%dx%d+0+0" % (w, h))
> #root.overrideredirect(1)
> root.focus()
> root.bind("<q>",lambda e: root.destroy())
> root.bind("<1>",lambda e: root.destroy())
> root.mainloop()


Both 'q' and mouseclick work for me, both with and without the
comment.

Python 2.2.3 (#1, Jun 19 2003, 12:10:13)
[GCC 3.2 20020927 (prerelease)] on cygwin

Cheers, Frank
--
It was real. At least, if it wasn't real, it did support them, and as that is
what sofas are supposed to do, this, by any test that mattered, was a real
sofa.
-- Douglas Adams, 'Life, the Universe, and Everything'



All times are GMT. The time now is 03:19 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.