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
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
"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
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