• 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: Mike Abdullah <email@hidden>
  • Date: Fri, 6 Oct 2006 08:37:18 +0100

You need to subclass NSTableHeaderCell and then use the setHeaderCell: method of NSTableColumn.

Mike.

On 5 Oct 2006, at 22: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.

Thanks.


___________________________________________________________Now you can scan emails quickly with a reading pane. Get the new Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com


This email sent to email@hidden

_______________________________________________ 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: [NSViewAnimation BUG] NSAnimationEaseOut
  • Next by Date: Re: Now CGEventCreateKeyboardEvent just doesn't work...
  • Previous by thread: Re: Icons in column-headers
  • Next by thread: Removing lists from an attributed string?
  • Index(es):
    • Date
    • Thread