• 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: Millions of cascading menus?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Millions of cascading menus?
      • From: Jerry LeVan <email@hidden>
References: 
 >Millions of cascading menus? (From: Jerry LeVan <email@hidden>)

  • Prev by Date: Re: NSDictionary design bug (was: Re: Ugly bug in Foundation, beware!)
  • Next by Date: Re: Millions of cascading menus?
  • Previous by thread: Millions of cascading menus?
  • Next by thread: Re: Millions of cascading menus?
  • Index(es):
    • Date
    • Thread