• 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
NSButtonCells and NSTableViews
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSButtonCells and NSTableViews


  • Subject: NSButtonCells and NSTableViews
  • From: Phillip Hutchings <email@hidden>
  • Date: Tue, 15 Oct 2002 16:55:44 +1300

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I am trying to use NSButtonCells in a NSTableView as a toggle switch for that row. I have set up the column as having data cells of NSButtonCells in the -awakeFromNib method, but I can't customise each button in the tableView:objectValueForColumn:row: method of my datasource. The method is being called, but returning an NSButtonCell or NSString does nothing.

Also, buttons created this way come out as rectangles with a stripy background, much like a transparent beveled rectangle. Is it possible to use the Aqua buttons here? Otherwise I'll do something else, it just looks bad at the moment.

- -------------------------------
Phillip Hutchings
http://www.sitharus.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (Darwin)

iEUEARECAAYFAj2rkcQACgkQ1PJqI21cmKBBpwCfXz/JcUXYy5+Je5FNNU76lTSO
z38AmJ3/w5qC8OOZCVz8USCK6A+PxIw=
=SXaV
-----END PGP SIGNATURE-----
_______________________________________________
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.

  • Prev by Date: Re: Cocoa-nuts!
  • Next by Date: Subject: Re: imageScaling - won't expand beyond native size
  • Previous by thread: Re: How to hide toolbar control in menu bar
  • Next by thread: NSButtonCells and NSTableViews
  • Index(es):
    • Date
    • Thread