TAKE_FOCUS

phil phillip.watts at anvilcom.com
Thu May 12 17:28:39 EDT 2005


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 <FocusIn> event should work.
> 
> (and make sure that the takefocus option is set)





More information about the Python-list mailing list