• 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: Image in place of NSTableColumn header cell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Image in place of NSTableColumn header cell


  • Subject: Re: Image in place of NSTableColumn header cell
  • From: Frédéric Testuz <email@hidden>
  • Date: Sat, 16 Sep 2006 08:51:07 +0200

Hi,

Why subclassing NSTableColumn or NSTableHeaderCell. I tried this in - awakeFromNib and it works :

NSTableColumn *column=[authorTableView tableColumnWithIdentifier:@"palette"];
[[column headerCell] setImage:[NSImage imageNamed:@"palette"]];


authorTableView is an outlet connected to the NSTableView.

Frédéric

Le 16 sept. 06 à 01:38, Brian Amerige a écrit :
Hi all,

I've been browsing around, and just looking for a way to put a (repeating, x-axis) image in place of an NSTableColumn header cell.

So far (from what I could figure out) I've got a subclass of NSTableColumn, with a setHeaderCell method (which essentially does nothing at this point).


Any guidance is appreciated! Brian Amerige http://extendmac.com http://cocoaforum.com


_______________________________________________ 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
_______________________________________________
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: 
 >Image in place of NSTableColumn header cell (From: Brian Amerige <email@hidden>)

  • Prev by Date: Re: XML and WebView
  • Next by Date: Persistent Store Error
  • Previous by thread: Re: Image in place of NSTableColumn header cell
  • Next by thread: XML and WebView
  • Index(es):
    • Date
    • Thread