New Tkinter windows don't get focus on OS X

Hendrik van Rooyen hendrik at microcorp.co.za
Fri Sep 11 10:40:34 CEST 2009


On Friday 11 September 2009 09:53:56 eb303 wrote:
> On Sep 11, 9:14 am, Hendrik van Rooyen <hend... at microcorp.co.za>
> wrote:

> > look for widget.focus_force()
> > and look for widget.grab_set_global()
>
> Doesn't work. BTW, forcing the focus or setting the grab globally are
> usually considered very annoying and I don't know any windowing system
> or window manager honouring those.

I have to confess I have never used the stuff - just remembered seeing it in 
the manual and pointed it out.

What does it do?

- Hendrik




More information about the Python-list mailing list