Terry J. Reedy added the comment: The issue is the interaction between stacking and focus. I am pretty sure that this is not a Python bug and that this issue should be closed. I suspect that the behavior is not even a tk bug, but simply how Windows' graphics system work.
In any case, the attached file avoids the stacking issue by temporarily replacing a Button with an Entry in a grid. It works on Windows 2 and 3 (the upload file has 'tkinter' for 3.x) and should work anywhere. I leave it to you to add grid args to position and anchor the widgets better. Also, the Entry widgets need to be a bit taller to match the Buttons. ---------- title: Incorrect tkinter behavior of slave widgets of Button -> Tkinter stacking versus focus behavior on Windows Added file: http://bugs.python.org/file39901/tem.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24587> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com