Alan Gauld wrote:
Using a class is very unusual and has several drawbacks. The main one is that Tkinter calls the call-back object which in the case of a class creates a new instance. So you are constantly creating new objects to which you have no reference so cannot call their methods
It's not useless if, as appears to be the case here, the class in question is implementing a modal dialog. On the contrary, I think it's actually rather elegant, if a bit surprising! -- Greg _______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org http://mail.python.org/mailman/listinfo/tkinter-discuss