Re: taking control of the Window menu
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