• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Quitting App with Close Widget
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quitting App with Close Widget


  • Subject: Re: Quitting App with Close Widget
  • From: Nicholas Riley <email@hidden>
  • Date: Wed, 23 Oct 2002 17:05:13 -0500
  • Mail-followup-to: Josh Ferguson <email@hidden>, email@hidden

On Wed, Oct 23, 2002 at 04:52:00PM -0500, Josh Ferguson wrote:
> This may be a very simple question, but how do you make the close widget (the little x in the upper-left hand corner) actually quit the application (like Apple's Instller, for example). I'm sure it's a basic setting but I've been beating my head against my desk for a day now. Is it just a matter of delegation? Is it in InterfaceBuilder?

- (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication
*)sender;
{
return YES;
}

--
=Nicholas Riley <email@hidden> | <http://www.uiuc.edu/ph/www/njriley>
Pablo Research Group, Department of Computer Science and
Medical Scholars Program, University of Illinois at Urbana-Champaign
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Quitting App with Close Widget (From: "Josh Ferguson" <email@hidden>)

  • Prev by Date: RE: Quitting App with Close Widget
  • Next by Date: is protected broken, or am I?
  • Previous by thread: RE: Quitting App with Close Widget
  • Next by thread: Re: Help: while(;;) loop vs. NSTimer / NSThread -*Fixed*
  • Index(es):
    • Date
    • Thread