Re: [Tkinter-discuss] Exiting a Tkinter Program-- An Anomaly or two

2010-02-13 Thread Michael Lange
Hi, On Fri, 12 Feb 2010 17:00:18 -0800 Wayne Watson wrote: > I have no qualms about sending you the code. The code by itself would > not be executable though unless I provide several files. The critical > ones are a jpg, which is used to fill the initial display area, and > two others that have

Re: [Tkinter-discuss] Exiting a Tkinter Program-- An Anomaly or two

2010-02-12 Thread Wayne Watson
I have no qualms about sending you the code. The code by itself would not be executable though unless I provide several files. The critical ones are a jpg, which is used to fill the initial display area, and two others that have to do with color and making a movie. A minimum of two data files m

Re: [Tkinter-discuss] Exiting a Tkinter Program-- An Anomaly or two

2010-02-11 Thread Wayne Watson
Just did now and the msg showed up. On 2/11/2010 10:54 AM, Peter Milliken wrote: Have you tried putting a print statement in the Quit method to determine if the correct quit is being called? On Thu, Feb 11, 2010 at 10:14 AM, Wayne Watson wrote: I'm looking

Re: [Tkinter-discuss] Exiting a Tkinter Program-- An Anomaly or two

2010-02-10 Thread Wayne Watson
I get the small dialog "Do you want to exit altogether?". I press yes. The shell and program windows close. If I say no, then I get error messages in the shell followed by a command prompt. The program continues to operate. Well, this isn't bad, but it probably changes how I want to print to t

Re: [Tkinter-discuss] Exiting a Tkinter Program-- An Anomaly or two

2010-02-10 Thread Kevin Walzer
On 2/10/10 6:14 PM, Wayne Watson wrote: def Quit(self) self.running = False self.master.quit() If you change self.master.quit() to sys.exit(), what happens? (Also make sure that "import sys" is somewhere in the code.) -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___