[Tkinter-discuss] Tix: binding

Mohammad Tayseer m_tayseer82 at yahoo.com
Wed Mar 15 10:37:21 CET 2006


> >>> box.cancel(command = lambda a,b : a+b )
> Traceback (most recent call last):
> File "
", line 1, in ?


> box.cancel(command = lambda a,b : a+b )


> AttributeError: _dummyButton instance has no __call__ method


you should use box.cancel.config(command=my_callback) AFAIK


			
---------------------------------
 Yahoo! Mail
 Use Photomail to share photos without annoying attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tkinter-discuss/attachments/20060315/3b5eb547/attachment.htm 


More information about the Tkinter-discuss mailing list