请问在Python tk中比如说我设置了这样一个按钮,Button(root,text=a,width=10,command=lambda:newExpression(a)).grid(row=1,column=0)那么怎样使这个按钮被点击一次之后就变为灰色无效?
没用过tk,帮你搜索了下,http://stackoverflow.com/questions/20596892/disabling-buttons-after-click-in-tkinter