Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mulit-state buttons




"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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: Mulit-state buttons (From: "I. Savant" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.