but I suppose you could write code to observe NSWindowWillCloseNotification and terminate the application when you receive it.

Copy and paste:

@implemenation TheDelegateOfTheWindow

[...]

- (void) windowWillClose: (NSNotification*)notification {
//[NSApp terminate:self]; // XXX: mutex-something -> bus error/core dump [NSApp stop:self]; // apparently frees the autorelease pool, careful.
}
@end


_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to