Tkinter.Frame.tk_focusFollowsMouse

Frame.tk_focusFollowsMouse()

The widget under mouse will get automatically focus. Can not be disabled easily.