Re: Millions of cascading menus?
Re: Millions of cascading menus?
- Subject: Re: Millions of cascading menus?
- From: David Reed <email@hidden>
- Date: Mon, 7 Jun 2004 23:01:40 -0400
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.