Skip to content
Prev 39671 / 398498 Next

Problem with batch-file

On Mon, Nov 03, 2003 at 10:35:57AM +0100, Morach Sascha, moracsa1 wrote:
I use a trick which Peter D. once emailed. You need to initialise a
variable, say, wait.gui, to zero. If and when the user wants to quit
(File->Exit or whatever, you also need to fetch the window closing event
from the window manager) you set wait.gui to 1.  Then a call to

	tk.wait(wait.gui)
	
in your main part should be all that is needed.

Hth, Dirk