Re: NSOutlineView selectable only children
Re: NSOutlineView selectable only children
- Subject: Re: NSOutlineView selectable only children
- From: Corbin Dunn <email@hidden>
- Date: Mon, 8 Aug 2005 09:20:23 -0700
Le Aug 8, 2005 à 5:21 AM, Denis Defreyne a écrit :
Is it possible without Subclass the NSOutlineView?
In the outline view's delegate, implement `- (BOOL)tableView:
(NSTableView *)aTableView shouldSelectRow:(int)rowIndex`. Return NO
when the object at row `rowIndex` is a root item of this outline view.
He probably wants to use:
- (BOOL)outlineView:(NSOutlineView *)outlineView shouldSelectItem:(id)
item;
For an outlineView.
-corbin _______________________________________________
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