[issue24587] Tkinter stacking versus focus behavior on Windows
Terry J. Reedy
report at bugs.python.org
Sun Jul 12 05:02:21 CEST 2015
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 <report at bugs.python.org>
<http://bugs.python.org/issue24587>
_______________________________________
More information about the Python-bugs-list
mailing list