I've had that same error message using Pmw widgets.
Yes, I use root.destroy(), and no, I don't have the problem any more.
def end(self):
'''# Quit Scenario Manager Application'''
try:
root.destroy()
except TclError:
#exception oc
On Fri, Mar 17, 2006 at 10:54:56AM -0800, Russell E. Owen wrote:
.
.
.
> I have a Python/Tkinter application that runs on various platforms. When
> the user selects "quit", I call root.quit() or sys.exit(0) (newer vs.
> older
I have a Python/Tkinter application that runs on various platforms. When
the user selects "quit", I call root.quit() or sys.exit(0) (newer vs.
older version of the code). This works on all platforms except Windows.
On Windows when the user quits (which calls quit on the root toplevel),
it alway
Man you've got to be fast to get ahead of Fredrik!
And his solution is better than mine, anyway... :-)
S
___
Tkinter-discuss mailing list
Tkinter-discuss@python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss
one line is all you need to change.
def execute(self):
self.addMessage(' Start testing')
tk.update()
for i in range(1):
for j in range (2000):
i*j
self.addMessage(' Finish testing')
BTW, it's customary, though certainly not necessary, to call your main
window
"V H" wrote:
> The function what I implemented takes 30 seconds. Before running it I want
> to give some message to user by displaying them in the widget 'Text'. Seems
> it's not useful because the message are always displayed after the excution.
> Could you help me to resolve it?
call self.text.
Hello,
The function what I implemented takes 30 seconds. Before running it I want
to give some message to user by displaying them in the widget 'Text'. Seems
it's not useful because the message are always displayed after the excution.
Could you help me to resolve it? Thanks a lot.
best regards