Re: sheet not receiving all events?
Re: sheet not receiving all events?
- Subject: Re: sheet not receiving all events?
- From: Quincey Morris <email@hidden>
- Date: Sat, 17 Sep 2011 14:47:44 -0700
On Sep 17, 2011, at 13:45 , Scott Ribe wrote:
> But the thing is, if there's only [one?] window, a window-modal sheet is also application modal.
I don't understand.
Are you saying that invoking 'beginSheet…' and returning to the main event loop is the the same thing as invoking 'beginSheet…' followed by 'runModal…'? That doesn't sound technically correct, though I suspect that (assuming "global" menu items are properly disabled in the first case) the two cases might be roughly indistinguishable to the user.
Perhaps the issue is that there's an asymmetry. In the (single-window-per-doc) document-based app case, the window represents the document to the user. Disabling the window in effect disables access to the document, in any ordinarily-constructed app. In the (single-window) non-document app case, it's ambiguous whether the window represents the app as a whole, or just the part of the app functionality that the window provides access to.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden