Getting the widget that triggered an Event?

前端 未结 3 787
慢半拍i
慢半拍i 2020-11-30 09:08

In Tkinter, I have a multiple widgets bound to the left-mouse button. They all trigger the same event when clicked.

How do I recover which widget was clicked?

3条回答
提交回复
热议问题