From 8bc4a287a66b6ec80461eb194a8cd7de7d9caafa Mon Sep 17 00:00:00 2001 From: Darrell Walisser Date: Sat, 28 Apr 2012 11:31:01 -0400 Subject: [PATCH] -update docs for sheet notifications --- AppKit/CPWindow/CPWindow.j | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/AppKit/CPWindow/CPWindow.j b/AppKit/CPWindow/CPWindow.j index e0c10d082..7143fea1a 100644 --- a/AppKit/CPWindow/CPWindow.j +++ b/AppKit/CPWindow/CPWindow.j @@ -257,6 +257,20 @@ var CPWindowActionMessageKeys = [ @param window the window to close @return \c YES allows the window to close. \c NO vetoes the close operation and leaves the window open. + + @delegate -(BOOL)windowWillBeginSheet:(CPNotification)notification; + Sent from the notification center before sheet is visible on + the delegate's window. + @param notification contains information about the event + + @delegate -(BOOL)windowDidEndSheet:(CPNotification)notification; + Sent from the notification center when an attached sheet on the + delegate's window has been animated out. Called before the + sheet's didEndSelector. + @param notification contains information about the event + + @return \c YES allows the window to close. \c NO + vetoes the close operation and leaves the window open. */ @implementation CPWindow : CPResponder {