• 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
How to limit expansion in NSOutlineView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to limit expansion in NSOutlineView


  • Subject: How to limit expansion in NSOutlineView
  • From: Scott Ribe <email@hidden>
  • Date: Fri, 20 Oct 2006 15:38:22 -0600
  • Thread-topic: How to limit expansion in NSOutlineView

When a user option-clicks the root of my tree, I only want to expand to the
next-to-last level. I don't see how I can use the normal delegate methods
for "should expand" because they don't know whether a single-level expansion
or recursive expansion is happening. And even if they could, those nodes
need to be expandable, ie have the triangle drawn, after the expansion is
complete.

Is there any way to do this? Or should I require that users just know better
than to option-click the root node of a tree that might well have 10k items
in it (or >100k in the most extreme case)?


--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Over-released Paragraph Style - Driving Me NUTS!
  • Next by Date: Re: Over-released Paragraph Style - Driving Me NUTS!
  • Previous by thread: Overriding default width of a NSAlert?
  • Next by thread: Dragging files and folders into NSView subclasses
  • Index(es):
    • Date
    • Thread