• 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
Re: Mulit-state buttons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

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

  • Prev by Date: Re: Problems with bindings and "continuously updates"
  • Next by Date: Re: Problems with bindings and "continuously updates"
  • Previous by thread: Re: Mulit-state buttons
  • Next by thread: Re: Mulit-state buttons
  • Index(es):
    • Date
    • Thread