• 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: button cell highlight/state/type
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: button cell highlight/state/type


  • Subject: Re: button cell highlight/state/type
  • From: Uli Kusterer <email@hidden>
  • Date: Thu, 10 Apr 2014 16:20:39 +0200

On 10 Apr 2014, at 07:17, Graham Cox <email@hidden> wrote:
> Does anyone have a handy guide or pointer to the relevant docs which show all the various meanings of highlight, state, appearance and button type. There are so many combinations, and the class reference doesn't really explain it very well (or at all). Some buttons appear to care about the highlight state, others about the 'state', depending on type and what appearance is in use. All seems a bit arbitrary.
>
> I'm creating a custom button cell that has to work in a variety of situations, and so far it's hard to avoid a mix-up between different types due to the conflation of the highlight and the state.

This answer I gave on Stack Overflow a while ago might help:

http://stackoverflow.com/questions/6398989/nsbuttoncell-subclass-button-type-not-working/12935830#12935830

Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de


_______________________________________________

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


References: 
 >button cell highlight/state/type (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: NSButton/NSBox interaction
  • Next by Date: Re: NSTask: program launching another program, potential problem with path: how to do?
  • Previous by thread: Re: button cell highlight/state/type
  • Next by thread: NSTask: program launching another program, potential problem with path: how to do?
  • Index(es):
    • Date
    • Thread