• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Icons in column-headers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Icons in column-headers (From: Ari Benzane <email@hidden>)

  • Prev by Date: Re: sortDiscriptor binding
  • Next by Date: Leopard Issues
  • Previous by thread: Icons in column-headers
  • Next by thread: Re: Icons in column-headers
  • Index(es):
    • Date
    • Thread