NSOutlineViewWill Expand/Collapse notifications
NSOutlineViewWill Expand/Collapse notifications
- Subject: NSOutlineViewWill Expand/Collapse notifications
- From: Ken Victor <email@hidden>
- Date: Wed, 7 Jun 2006 18:34:51 -0700
i'm registered for outline view will expand/collapse notifications.
the documentation clearly states that these notifications are sent
BEFORE the associated clicked row is expanded/collapsed as follows:
Posted before an item is collapsed (after the user clicks the arrow
but before the item is collapsed).
The notification object is the NSOutlineView object that contains the
item about to be collapsed. A collapsed item's children will lose
their status as being selected. The userInfo dictionary contains the
following information:
and:
Posted before an item is expanded (after the user clicks the arrow
but before the item is collapsed).
The notification object is the outline view that contains an item
about to be expanded. The userInfo dictionary contains the following
information:
yet, in my notification routine when i checked the state of the item
via [NSOutlineView isItemExpanded:] its as if the notification is
sent AFTER the item has expanded/collapsed.
is this a known bug? or is this a documentation bug?
thanx,
ken
_______________________________________________
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