On Thursday 10 September 2009 18:19:09 Joshua Bronson wrote:

> True, but it'll still be a lot less painful for me to test my app if I
> can get it to steal focus
> when launched from the command line. If anyone knows how to do this in
> Tkinter, help would be much appreciated.
>

look for widget.focus_force()
and look for widget.grab_set_global()

Yahoo for:   Shipman Tkinter "new mexico tech"
for a nice manual, if you do not have it yet.

HTH - Hendrik


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to