Re: How to handle clicks on NSOutlineView
Re: How to handle clicks on NSOutlineView
- Subject: Re: How to handle clicks on NSOutlineView
- From: Jacob Rhoden <email@hidden>
- Date: Sat, 14 Feb 2009 16:05:18 +1100
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 programmng for mac os x 3rd edition are not that helpful on
this!)
For an outline view you can also use -itemAtRow: to directly get the
object to which it refers.
Thansks! That was the method I was looking for, I didnt think to look
for methods there!
--
____________________________________________
Jacob Rhoden http://jacobrhoden.com
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden