Document Window Versions Drop-down Menu
Document Window Versions Drop-down Menu
- Subject: Document Window Versions Drop-down Menu
- From: Vincent CARLIER <email@hidden>
- Date: Tue, 14 May 2013 09:07:56 +0200
Hi all,
I'm writing a document based app. Each document is displayed in a window,
and can have several other windows too.
The primary window and the others are the same (same NIB, same window
controller), each window is able to display a different part of the
document data.
At the beginning, only a single window is opened, and the user can request
other windows to display the document via a menu item.
So now, when the first window is opened, it has a drop down menu in its
title bar, to let the user Rename, Duplicate, etc..., the document.
What happen is if a second window (and subsequent ones) is opened, it
doesn't have this menu.
I thought every window would get that menu, after all each one is tied to
the document.
More important, if the first opened window (the one with the menu) is
closed, the menu is just lost. The user user is still able to act on the
document via the File menu, though.
So my question is :
Is there a way to put the menu on other windows too, is there any available
API to do that ? (I didn't find anything related in the documentation, and
googling that didn't produce any result)
Or maybe it is the right behavior, the first window get the menu, and other
windows are considered "secondary windows" and don't get it ? (the
documentation refers to my situation as "multiple-view document", and
suggests that it's right to open several windows for the same document).
Anybody can provide feedback on that ?
Thank you for your answers.
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