【发布时间】:2017-07-12 08:04:53
【问题描述】:
我目前正在使用 tkinter (8.6) 在 Python (3.6) 上开发一个 GUI 项目。 关注this question 我想知道如何取回 someFunction 的结果:
def someFunction(event):
do stuff ..
return(otherStuff)
canvas.bind('<Button-1>',lambda event: someFunction(event))
提前谢谢你:)!
【问题讨论】: