def my_func(event, argu):
print(event, argu)
xxxx.bind("",
lambda event, argu: my_func(event, argu))
网上全是互相抄的,那种绑定方法麻烦死了,自己写了个,各位仔细琢磨一下,看懂了点个赞~

def my_func(event, argu):
print(event, argu)
xxxx.bind("",
lambda event, argu: my_func(event, argu))
网上全是互相抄的,那种绑定方法麻烦死了,自己写了个,各位仔细琢磨一下,看懂了点个赞~