Hi, Thus spoketh pyt...@bdurham.com unto us on Sun, 16 Jan 2011 09:10:50 -0500:
> Michael, > > > until the mouse enters the Tkinter window *or* the window receives > > keyboard focus > > Does adding a widget (any widget) that receives keyboard focus to your > root form fix this problem? > > What if you explicitly set focus to this control after you create your > root window? > None of these help, in fact of course I first had an app window with widgets, the minimalistic example was just for demonstration ;) Otoh the workaround is easy enough, it just seems a little ... strange to me, and I was surprised that it is so hard to find some information about this issue, I thought adding signal handlers to applications should be a common issue. If no one knows a better solution than the "poll-loop" technique, I think I might add it as a recipe to the wiki. Regards Michael .-.. .. ...- . .-.. --- -. --. .- -. -.. .--. .-. --- ... .--. . .-. It [being a Vulcan] means to adopt a philosophy, a way of life which is logical and beneficial. We cannot disregard that philosophy merely for personal gain, no matter how important that gain might be. -- Spock, "Journey to Babel", stardate 3842.4 _______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org http://mail.python.org/mailman/listinfo/tkinter-discuss