Re: Document Window Versions Drop-down Menu
Re: Document Window Versions Drop-down Menu
- Subject: Re: Document Window Versions Drop-down Menu
- From: Vincent CARLIER <email@hidden>
- Date: Wed, 15 May 2013 08:25:18 +0200
Hi Kyle,
2013/5/14 Kyle Sluder <email@hidden>
> On May 14, 2013, at 1:33 AM, Vincent CARLIER <email@hidden>
> 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@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