How to limit expansion in NSOutlineView
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