Re: Icons in column-headers
Re: Icons in column-headers
- Subject: Re: Icons in column-headers
- From: j o a r <email@hidden>
- Date: Fri, 6 Oct 2006 07:18:18 +0200
On 5 okt 2006, at 23.31, Ari Benzane wrote:
Hi, Sorry if this is a really dumb/obvious question, but how can I
put a little icon in a the column-headers of my NSTable? I've not
found any information on this. For example, my app has a list of
items that can be enabled/disable by check-boxes in the first
column. The title of this column is currently 'Enabled' which is
lame. I want to put a little icon in there.
The table header is drawn by the NSTableHeaderCell of the
NSTableColumn. You can use the NSCell method "-setImage:" to set an
image - As described here:
<http://developer.apple.com/documentation/Cocoa/Conceptual/TableView/
Concepts/TableParts.html>
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden