Re: Quitting App with Close Widget
Re: Quitting App with Close Widget
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.