On Mon, 29 May 2006 14:54:28 +0300 "Ilknur Ozturk" <[EMAIL PROTECTED]> wrote:
> Hi all, > > > > I have a problem with toplevel window. It is created within a function > and I am calling that function by button press. I have created 4 buttons > that call same toplevel creating function. For the first call, there is > no problem. The toplevel window is created and get the arguments. But > the other call for that function results with an error message like; > > > > "Toplevel instance has no __call__ method" > Hi Ilknur, can you show us the code and a complete traceback, otherwise we can only guess. The error message you described can be reproduced by the folllowing code snippet: >>> t=Toplevel() >>> t() Traceback (most recent call last): File "<stdin>", line 1, in ? AttributeError: Toplevel instance has no __call__ method >>> so maybe the problem is the name you give to your Toplevel instance. Michael _______________________________________________ Tkinter-discuss mailing list [email protected] http://mail.python.org/mailman/listinfo/tkinter-discuss
