Hi Kyle,

2013/5/14 Kyle Sluder <[email protected]>

> On May 14, 2013, at 1:33 AM, Vincent CARLIER <[email protected]>
> wrote:
>
> > No matter what I do, only the first window (that is the window managed by
> > the first WC created for the document) gets the menu.
>
> What does the secondary window return for -isExcludedFromWindowsMenu?


Windows all answer 'NO' to that message, and of course all window titles
appear in the menu.


> It's possible that NSDocument automatically turns that on for windows
> owned by secondary window controllers.
>

NSWindow class reference tells that the default is NO for a window.
Didn't you confuse "windows menu" with "versions menu" ? I'm really talking
about the drop down menu, next to the window title.
I did look for a method called -isExcludedFromVersionsMenu, or something
like that, and found nothing.

It seems "Versions" is some kind of opaque feature.


> --Kyle Sluder


Vince.
_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to