How to hide disclosure triangle in NSOutlineView [10.5]?

2008-09-19 Thread Marc Respass
Hi All, I have an outline view connected to a tree controller and I want to hide the disclosure triangle. I know that there is a data source delegate method, - (BOOL)outlineView:(NSOutlineView *)outlineView isItemExpandable:(id)item, but when I make my controller the data source of the

Re: How to hide disclosure triangle in NSOutlineView [10.5]?

2008-09-19 Thread Corbin Dunn
On Sep 19, 2008, at 7:58 AM, Marc Respass wrote: Hi All, I have an outline view connected to a tree controller and I want to hide the disclosure triangle. I know that there is a data source delegate method, - (BOOL)outlineView:(NSOutlineView *)outlineView isItemExpandable:(id)item, but

Re: How to hide disclosure triangle in NSOutlineView [10.5]?

2008-09-19 Thread chaitanya pandit
What you can do is create an image which has nothing i.e is transparent and use the following method to set it as the image of disclosure triangle - (void)outlineView:(NSOutlineView *)outlineView willDisplayOutlineCell:(id)cell forTableColumn:(NSTableColumn *)tableColumn item:(id)item {