draw NSButtonCell or combo cell only when selected?
draw NSButtonCell or combo cell only when selected?
- Subject: draw NSButtonCell or combo cell only when selected?
- From: Chad Harrison <email@hidden>
- Date: Wed, 18 Mar 2009 14:41:06 -0400
I'm looking to do something like iTunes does when you have a row
selected - that is, show an NSImageCell or NSButtonCell combo with the
text, but only when the row is selected (or in iTunes' case, when a
track is playing). I am able to create a custom cell, but I'm not sure
how to tell it to draw itself differently when the row is selected, or
not.
thanks
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden