On 24/02/2013, at 8:04 AM, William J. Cheeseman <wjcheese...@gmail.com> wrote:

> When a popover is still anchored to its parent window, the popover view's 
> window is the parent window -- which makes sense, when you think about it, 
> because a popover is just another view in the main window.

Are you sure about that? I'm not... it would make sense to me if the popover 
window was a separate window, a child of the original window. That's how it 
acts and behaves. For example if the popover falls outside the bounds of the 
original view or window, it has its own shadow etc, and is unclipped by the 
original window. The internal pointers to the view's window might return some 
other window of course, but I don't think so - I have tried for example, to 
attach a sheet to a popover by asking for the view's -window as the sheet's 
parent and it attached the sheet to the popover. Turned out to be a bad idea, 
but it worked, sort of.


> When the popover is detached, the new, separate popover view's window is the 
> detached popover window. 


Do you need to call -makeKeyAndOrderFront: on the detached window?

--Graham


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to