Re: Millions of cascading menus?
Re: Millions of cascading menus?
- Subject: Re: Millions of cascading menus?
- From: Jerry LeVan <email@hidden>
- Date: Mon, 7 Jun 2004 23:15:12 -0400
Thanks for the suggestions, I never thought about a browser :).
Actually I doubt that the menu layers would be more than one layer deep.
I agree that cascaded menus can be hard to navigate, I even have trouble
taking a mailbox back on line from the mail app. It generally takes at
least two trys ;(
Jerry
On Jun 7, 2004, at 11:01 PM, David Reed wrote:
Jerry,
Since I only want the name of the actual file in the menu, it
appears that I will have to crawl up the menu structure to
recover the path name of the file.
No, you can use -[NSMenuItem setRepresentedObject:] to store the path
with the menu item.
An alternate approach I am thinking about is to use an outline
view in a drawer.
If I were you, I'd go for the outline view or a browser (there is even
an example file system browser in
/Developer/Examples/AppKit/SimpleBrowser you might be able to adapt).
"Millions of cascading menus" are both annoying and difficult to
navigate, but outlines/browsers are familiar from the Finder.
Hope this helps,
David.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.