Re: Mulit-state buttons
Re: Mulit-state buttons
- Subject: Re: Mulit-state buttons
- From: Ari Benzane <email@hidden>
- Date: Fri, 19 Oct 2007 13:58:41 +0100 (BST)
"I. Savant" <email@hidden> wrote:
A view?! That's what cells are for! Have you seen this:
http://developer.apple.com/documentation/Cocoa/Conceptual/ControlCell/Tasks/SubclassingNSCell.html
You can create your own NSButtonCell class that keeps track of these
states ...
OK I'll have a look at this. I was hoping that someone had already implemented such a class. I assume a button cell could also be used in a table?
@Andreas - you have a agood point. The ideal widget would also have a drop-down menu with items for each state. This would give the best of both worlds. Not sure how I could do that with an NSButtonCell however.
---------------------------------
Nervous about who has your email address? Yahoo! Mail can help you win the war against spam.
_______________________________________________
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