• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: taking control of the Window menu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: taking control of the Window menu


  • Subject: Re: taking control of the Window menu
  • From: Carmin Politano <email@hidden>
  • Date: Sun, 15 Apr 2007 11:12:08 -0400


Taking manual control over the Window files menu list is something I never did.
However, I would first consider assigning a delegate to the Window menu and rearrange/header what exists before pulldown before I would consider revamping the OS control over the menu.
Note: It is highly possible that -add/removeWindowController: does much more than just maintain a raw list.
Note: When you do this you might remove the OS from having control over the menu.
Either way, I would try there first.


...life... Carmin

On Apr 15, 2007, at 10:51 AM, John R. Timmer wrote:

I'm writing a document based app where each document may have an essentially infinite number of detailed views associated with it. Right now, as these windows are opened, they're just tacked on to the window list in order. I think it would be a better UI to group them by document.

I'm just wondering whether anyone has experience with this, and could tell me if i'm on the right track. I figure that the management of this menu takes place during the "addWindowController:" method and the items are removed during the "shouldCloseWindowController:delegate:shouldCloseSelector:contextInfo: " method.

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....

JT


____________________________________ Science Writer Ars Technica - http://arstechnica.com/journals/science.ars Wellcome Science - http://www.wellcome.ac.uk/wellcomescience



_______________________________________________

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:
40verizon.net


This email sent to email@hidden


_______________________________________________

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


References: 
 >taking control of the Window menu (From: "John R. Timmer" <email@hidden>)

  • Prev by Date: taking control of the Window menu
  • Next by Date: Re: taking control of the Window menu
  • Previous by thread: taking control of the Window menu
  • Next by thread: Re: taking control of the Window menu
  • Index(es):
    • Date
    • Thread