Re: taking control of the Window menu
Re: taking control of the Window menu
- Subject: Re: taking control of the Window menu
- From: "Adam R. Maxwell" <email@hidden>
- Date: Sun, 15 Apr 2007 08:51:24 -0700
On Apr 15, 2007, at 07:51, John R. Timmer wrote:
Overall, my sense is that i need to replace the following methods:
– windowControllers
– addWindowController:
– removeWindowController:
–
shouldCloseWindowController:delegate:shouldCloseSelector:contextInfo:
and then maintain my own list of window controllers to get this all
to work.
Does this seem accurate? Any advice appreciated....
You'll need to subclass NSApplication, which manages the window menu,
not NSDocument. Here's an example: <http://skim-app.svn.sourceforge.net/viewvc/skim-app/trunk/SKApplication.m?view=markup
>
-- adam_______________________________________________
Cocoa-dev mailing list (email@hidden)
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