Python-Tkinter issue. Multiple overlaping event routines called by single click
Peter Otten
__peter__ at web.de
Sat Aug 11 17:58:42 EDT 2018
wfgazdzik at gmail.com wrote:
> I have a main window open. Then I open a tk.TopLevel dialog window giving
> the user multiple choices. He selects one, the corresponding event is
> executed. Then in the underlining main window, just by chance there is
> another button exactly under the mouse click in the TopLevel dialog
> window. Its corresponding event is then triggered.
>
> How can I keep the main window button that just happens to be in the wrong
> place from being triggered?
Please post a small script that shows the behaviour described above. That
will give us some common ground to talk about.
More information about the Python-list
mailing list