Re: How to set the string and integer value of an NSButtonCell using NSOutilneView
Re: How to set the string and integer value of an NSButtonCell using NSOutilneView
- Subject: Re: How to set the string and integer value of an NSButtonCell using NSOutilneView
- From: Graham Cox <email@hidden>
- Date: Tue, 28 Jul 2009 16:12:15 +1000
On 28/07/2009, at 7:17 AM, Korei Klein wrote:
Also, how do I determine the index of the column which is the second
argument of outlineView:objectValueForTableColumn:byItem.
[[theOutlineView tableColumns] indexOfObject:theTableColumn];
You need to be wary of using the index though - it isn't fixed as the
user can drag columns, so it's better whenever possible to use the
table column object itself. It should have anything you want to know
about the column.
--Graham
_______________________________________________
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