NSButtonCells and NSTableViews
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.