Bind event is giving me a bug.

eneskristo at gmail.com eneskristo at gmail.com
Wed Jan 15 16:19:26 EST 2014


Thank you, I thought Enter was Enter, but I still have this problem, when I press the Button, this appears:
Exception in Tkinter callback
Traceback (most recent call last):
  File "C:\Python33\lib\tkinter\__init__.py", line 1475, in __call__
    return self.func(*args)
TypeError: get_text() missing 1 required positional argument: 'event'
Exception in Tkinter callback
Traceback (most recent call last):
  File "C:\Python33\lib\tkinter\__init__.py", line 1475, in __call__
    return self.func(*args)
TypeError: get_text() missing 1 required positional argument: 'event'

Should I make 2 functions, or is there a simpler solution?



More information about the Python-list mailing list