Skip navigation.
 
mlRe: Close button on Single Window Utilities
FROM : Wade Tregaskis
DATE : Tue Nov 19 15:35:45 2002

Your app should quit on window close if:

   (a) It has only one window (excluding any sheets/drawers that may be
attached)
   (b) It has no reason to run all the time

   Working Example:  Address Book (address book functionality available
through system frameworks, not through Address Book app)
   Broken Example:  System Preferences (should quit when window closed)


Your app should *not* quit on window close if:

   (a) It is document based or in most other ways multi-window
   (b) It needs to be running to perform it's duties

   Working Examples:  iTunes (must remain open to play music),
Preview/TextEdit/etc (document based, therefore you may wish to
open/create a document at some point)


On a personal note, it drives me insane that System Preferences won't
get lost when I close it.  If I wanted it open all the time, I wouldn't
close it's one and only window.

Wade Tregaskis
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlClose button on Single Window Utilities Steve Sheets Nov 15, 19:23
mlRe: Close button on Single Window Utilities Ondra Cada Nov 16, 11:31
mlRe: Close button on Single Window Utilities Andreas Mayer Nov 16, 15:44
mlRe: Close button on Single Window Utilities Rosyna Nov 17, 03:04
mlRe: Close button on Single Window Utilities matt neuburg Nov 18, 18:19
mlRe: Close button on Single Window Utilities Ondra Cada Nov 18, 18:30
mlRe: Close button on Single Window Utilities Donald Brown Nov 18, 19:33
mlRe: Close button on Single Window Utilities Ondra Cada Nov 18, 19:51
mlRe: Close button on Single Window Utilities j o a r Nov 18, 21:36
mlRe: Close button on Single Window Utilities Mike O'Connor Nov 18, 22:52
mlRe: Close button on Single Window Utilities Bill Cheeseman Nov 18, 23:47
mlRe: Close button on Single Window Utilities Charles Srstka Nov 19, 05:23
mlRe: Close button on Single Window Utilities Wade Tregaskis Nov 19, 15:35
mlRe: Close button on Single Window Utilities Finlay Dobbie Nov 19, 22:28
mlRe: Close button on Single Window Utilities Charles Srstka Nov 20, 00:43
mlRe: Close button on Single Window Utilities finlay Nov 20, 14:30
mlRe: Close button on Single Window Utilities Manfred Schubert Nov 20, 16:54
mlRe: Close button on Single Window Utilities Charles Srstka Nov 20, 19:16
mlRe: Close button on Single Window Utilities Sheehan Olver Nov 21, 00:30