• 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: NSMomentaryLightButton vs. NSMomentaryPushInButton and NSPushOnPushOffButton vs. NSOnOffButton
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMomentaryLightButton vs. NSMomentaryPushInButton and NSPushOnPushOffButton vs. NSOnOffButton


  • Subject: Re: NSMomentaryLightButton vs. NSMomentaryPushInButton and NSPushOnPushOffButton vs. NSOnOffButton
  • From: Quincey Morris <email@hidden>
  • Date: Thu, 28 Oct 2010 00:25:07 -0700

On Oct 27, 2010, at 22:53, Ken Ferry wrote:

> Anyway, NSMomentaryLightButton sets highlightsBy to NSChangeGrayCellMask|NSChangeBackgroundCellMask and showsStateBy to 0.
>
> NSMomentaryPushInButton sets highlightsBy to NSPushInCellMask and showsStateBy to 0.

Well, the thorough explanation is much appreciated, it's not clear that there are (currently) any buttons that draw differently with these two types, or are there?

Also, your explanation tends to suggest the documentation is wrong -- whatever "lit" means, surely both types can't be that, and why is a NSMomentaryPushInButton a correction of pre-Leopard terminology (correctly?) indicating that the type is *not* "pushed in"?


_______________________________________________

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: 
 >NSMomentaryLightButton vs. NSMomentaryPushInButton and NSPushOnPushOffButton vs. NSOnOffButton (From: Jeff Johnson <email@hidden>)
 >Re: NSMomentaryLightButton vs. NSMomentaryPushInButton and NSPushOnPushOffButton vs. NSOnOffButton (From: Quincey Morris <email@hidden>)
 >Re: NSMomentaryLightButton vs. NSMomentaryPushInButton and NSPushOnPushOffButton vs. NSOnOffButton (From: Jeff Johnson <email@hidden>)
 >Re: NSMomentaryLightButton vs. NSMomentaryPushInButton and NSPushOnPushOffButton vs. NSOnOffButton (From: Quincey Morris <email@hidden>)
 >Re: NSMomentaryLightButton vs. NSMomentaryPushInButton and NSPushOnPushOffButton vs. NSOnOffButton (From: Ken Ferry <email@hidden>)

  • Prev by Date: Re: Why would [NSArrayController setSelectionIndex] fail?
  • Next by Date: Custom setter for atomic property
  • Previous by thread: Re: NSMomentaryLightButton vs. NSMomentaryPushInButton and NSPushOnPushOffButton vs. NSOnOffButton
  • Next by thread: Re: NSMomentaryLightButton vs. NSMomentaryPushInButton and NSPushOnPushOffButton vs. NSOnOffButton
  • Index(es):
    • Date
    • Thread