discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quit?


From: Alexander Malmberg
Subject: Re: Quit?
Date: Wed, 23 Jun 2004 14:37:22 +0200

Matthew Weinstein wrote:
> Dear GNUsteppers,
> 
> My quit menu item quits but doesn't warn users about dirty windows.
> It just quits. Now to be honest I built this menu last summer with
> Gorm, but I do not want to lose the multiple hours it would take to
> make a new Gorm since most other things seem to be working with the
> program (at least in this gorm). Is there something I can do so that
> quit asks the user to save their work?

Implement -applicationShouldTerminate: in the application delegate.
Terminal's main.m has an example that shows how to delay the decision
and ask the user.

- Alexander Malmberg




reply via email to

[Prev in Thread] Current Thread [Next in Thread]