On Sep 11, 10:40 am, Hendrik van Rooyen <hend...@microcorp.co.za> wrote: > On Friday 11 September 2009 09:53:56 eb303 wrote: > > > On Sep 11, 9:14 am, Hendrik van Rooyen <hend...@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?
At tcl level, focus_force() and grab_set_global() are translated as options to the equivalents of focus_set() and grab_set() [1][2]. If these are not honoured, the options are simply ignored. That's what seems to happen on Mac OS X. So focus_force() does the same as focus_set(), and grab_set_global() the same as grab_set(). No use for the OP's problem... [1] http://www.tcl.tk/man/tcl8.5/TkCmd/focus.htm [2] http://www.tcl.tk/man/tcl8.5/TkCmd/grab.htm -- http://mail.python.org/mailman/listinfo/python-list