我正在用 Python 制作扫雷游戏,并使用 tkinter 库来创建 gui。有没有办法将两个命令绑定到 tkinter Button,一个是右键单击按钮,另一个是左键单击?
python tkinter button
button ×1
python ×1
tkinter ×1