Re: didEndShouldCloseSheet
Re: didEndShouldCloseSheet
- Subject: Re: didEndShouldCloseSheet
- From: Tomoo Kunikyo <email@hidden>
- Date: Sun, 19 May 2002 18:03:58 +0900
Thank you Nicholas Riley for your kind answer.
In the Local Machine Zone, I have found "NSBeginAlertSheet" method . But
the contents is "Discussion forthcoming" and I could not understand.
The document may be old.
In the Internet Zone, I also have found "NSBeginAlertSheet". In the
Discussion, "didEndSelector" or "didDismissSelector" defined as
"sheetDidEnd" or "sheetDidDismiss" is found but "didEndShouldCloseSheet"
is not found.
Where can I find "didEndShouldCloseSheet" method ?
On 2002.05.18, at 18:10, Nicholas Riley wrote:
On Sat, May 18, 2002 at 05:34:26PM +0900, Tomoo Kunikyo wrote:
Where can I find this "didEndShouldCloseSheet" method ?
This method is a callback, the 'didEndSelector' (described on page
143). The equivalent of a function pointer in Objective-C is a
target-action pair, or more concretely, an object and selector.
For more information on NSBeginAlertSheet, see:
<file:///System/Library/Frameworks/AppKit.framework/Versions/C/Resources/
English.lproj/Documentation/Reference/ObjC_classic/Functions/AppKitFunctions.
html>
and click "Panels" in the table of contents.
When the sheet is dismissed, Cocoa will send the
'didEndShouldCloseSheet:returnCode:contextInfo' method to the
modalDelegate; in the example on p. 144, it's 'self'.
--
=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.