En Sat, 05 Apr 2008 02:02:45 -0300, <[EMAIL PROTECTED]> escribió: > one thing i dont rally get, i ahve to add my_button.bind() somewhere? > i changed the stuff u said though and i get this error(the program > executes though and i can press the buttons):
Either use command, or bind. command requires a function with no parameters (or a bound method with self alone). bind uses a function with a single parameter, the event (or a bound method with self and event parameters). See the Tkinter book: http://www.effbot.org/tkinterbook/tkinter-events-and-bindings.htm http://www.effbot.org/tkinterbook/button.htm -- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list