Find a frame of an item in an NSOutlineView?

2011-08-18 Thread James Walker
Is there a way to find the frame rectangle of an item/row in an NSOutlineView? Looking through the table of contents of the NSOutlineView reference, I saw Getting the Frame for a Cell – frameOfOutlineCellAtRow: which sounded like what I wanted, but it turns out that it just gets the

Re: Find a frame of an item in an NSOutlineView?

2011-08-18 Thread Quincey Morris
On Aug 18, 2011, at 12:47 , James Walker wrote: Is there a way to find the frame rectangle of an item/row in an NSOutlineView? Looking through the table of contents of the NSOutlineView reference, I saw Getting the Frame for a Cell – frameOfOutlineCellAtRow: which sounded like what

Re: Find a frame of an item in an NSOutlineView?

2011-08-18 Thread Peter
Haven't tried it, but AppKiDo tells me that NSOutlineView inherits the following method from NSTableView: frameOfCellAtColumn:row: as well as rectOfColumn: and rectOfRow: Am 18.08.2011 um 21:47 schrieb James Walker: Is there a way to find the frame rectangle of an item/row in an

Re: Find a frame of an item in an NSOutlineView?

2011-08-18 Thread James Walker
On 8/18/2011 12:54 PM, Quincey Morris wrote: 'frameOfCellAtColumn:row:', 'rectOfColumn:', 'rectOfRow:'? (Don't forget NSOutlineView is a subclass of NSTableView.) Thanks. That seems to work, though what I'm ultimately trying to do (get an image of a row from an outline view) doesn't. I