[issue30200] tkinter ListboxSelect

Louie Lu report at bugs.python.org
Sat Apr 29 03:33:02 EDT 2017


Louie Lu added the comment:

I think this is only a normal behavior now.


Generate two events make sense, they are generate by different widget:

.!editor.!font_dialog.!frame.!frame.!listbox (0,)   # Select Font
.!editor.!font_dialog.!frame2.!frame.!listbox (0,)  # Select Style
.!editor.!font_dialog.!frame.!frame.!listbox ()     # Deselect Font

When you select one list and trying to select another listbox,
you will trigger two event, first is the select, and second the de-select.

So you will need to handle the de-select part.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30200>
_______________________________________


More information about the Python-bugs-list mailing list