• 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: Buttons is NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Buttons is NSTableView


  • Subject: Re: Buttons is NSTableView
  • From: "John C. Randolph" <email@hidden>
  • Date: Wed, 6 Feb 2002 15:02:37 -0800

On Wednesday, February 6, 2002, at 05:06 AM, email@hidden wrote:

Hello!

In iTunes the developers have very neat buttons in a NSTableView. Does anybody know how to add buttons to a NSTableView like that?

iTunes doesn't contain any NSTableViews, sorry ;-) They implemented their own controls that look a lot like NSTableViews..

iTunes has to support Mac OS 9, as well as Mac OS X, so it's a Carbon app.

If you want to implement something like iTunes' checkboxes in the "song" column, then you should make a delegate for your TableView, and implement -tableView:willDisplayCell:forTableColumn:row:. That's your opportunity to do whatever you like to the cell just before it draws.


-jcr

John C. Randolph <email@hidden> (408) 974-8819
Sr. Software Engineer, Cocoa Evangelism
Apple Worldwide Developer Relations
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Buttons is NSTableView
      • From: Marco Scheurer <email@hidden>
    • Re: Buttons is NSTableView
      • From: John Hörnkvist <email@hidden>
References: 
 >Buttons is NSTableView (From: email@hidden)

  • Prev by Date: dock animation available ?
  • Next by Date: Re: socko2: kill process by name
  • Previous by thread: Buttons is NSTableView
  • Next by thread: Re: Buttons is NSTableView
  • Index(es):
    • Date
    • Thread