In article <[EMAIL PROTECTED]>, Michael Yanowitz <[EMAIL PROTECTED]> wrote: . . . >2) Change the text of a label or button that is already drawn? > > based on actions taken by the user. Can it be done without destroying >the present dialog or the objects in it and creating a new one? . . . import Tkinter
root = Tkinter.Tk() counter = 0 # This is one of several ways one can access the Button's label. def set_text(): b.configure(text = "The button has been pushed %d time(s)." % counter) def actions(): global counter counter += 1 set_text() b = Tkinter.Button(root, command = actions) set_text() b.pack() root.mainloop() -- http://mail.python.org/mailman/listinfo/python-list