taking control of the Window menu
taking control of the Window menu
- Subject: taking control of the Window menu
- From: "John R. Timmer" <email@hidden>
- Date: Sun, 15 Apr 2007 10:51:19 -0400
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:
This email sent to email@hidden