TAKE_FOCUS

2005-05-11 Thread phil
WM_TAKE_FOCUS does not work on WinXP ?? I was sure I had used that on win before. Works on Linux. I have a function I need to run when the window gets the focus. How do you do that in Tkinter on Win32? Thanks -- http://mail.python.org/mailman/listinfo/python-list

Re: TAKE_FOCUS

2005-05-12 Thread Martin Franklin
phil wrote: > WM_TAKE_FOCUS does not work on WinXP ?? > I was sure I had used that on win before. > Works on Linux. > > I have a function I need to run when the window > gets the focus. How do you do that in Tkinter > on Win32? > Thanks > Take a look at the module docs for Tkinter you will need

Re: TAKE_FOCUS

2005-05-12 Thread Fredrik Lundh
"phil" wrote: > WM_TAKE_FOCUS does not work on WinXP ?? > I was sure I had used that on win before. > Works on Linux. > > I have a function I need to run when the window > gets the focus. How do you do that in Tkinter > on Win32? binding the event should work. (and make sure that the takefocus

Re: TAKE_FOCUS

2005-05-12 Thread phil
Thanks, works great. >>I have a function I need to run when the window >>gets the focus. How do you do that in Tkinter >>on Win32? >> > > binding the event should work. > > (and make sure that the takefocus option is set) -- http://mail.python.org/mailman/listinfo/python-list