Re: How to handle clicks on NSOutlineView

2009-02-13 Thread Jacob Rhoden
On 14/2/09 3:39 PM, Graham Cox wrote: On 14 Feb 2009, at 12:22 pm, Jacob Rhoden wrote: I am trying to do an action when an item in an NSOutlineView is clicked. How do I work out which item was actually clicked on? Ive tried all sorts of things and nothing seems to work. (Google or Cocoa progr

Re: How to handle clicks on NSOutlineView

2009-02-13 Thread Graham Cox
On 14 Feb 2009, at 12:22 pm, Jacob Rhoden wrote: I am trying to do an action when an item in an NSOutlineView is clicked. How do I work out which item was actually clicked on? Ive tried all sorts of things and nothing seems to work. (Google or Cocoa programmng for mac os x 3rd edition are

Re: How to handle clicks on NSOutlineView

2009-02-13 Thread Nick Zitzmann
On Feb 13, 2009, at 6:22 PM, Jacob Rhoden wrote: I am trying to do an action when an item in an NSOutlineView is clicked. How do I work out which item was actually clicked on? Did you try -clickedRow? Nick Zitzmann ___

How to handle clicks on NSOutlineView

2009-02-13 Thread Jacob Rhoden
Hi guys, I am trying to do an action when an item in an NSOutlineView is clicked. How do I work out which item was actually clicked on? Ive tried all sorts of things and nothing seems to work. (Google or Cocoa programmng for mac os x 3rd edition are not that helpful on this!) -(void)awakeFr