• 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: inconsistencies in view renderings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: inconsistencies in view renderings


  • Subject: Re: inconsistencies in view renderings
  • From: Alan Snyder <email@hidden>
  • Date: Tue, 18 Oct 2016 12:17:30 -0700

I was afraid you would say that…

The implication is that AppKit is probing the application at unspecified times with a fake event? Nothing in the documentation of acceptsFirstMouse suggests such a thing.

I have not found any other API so far.

  Alan



> On Oct 18, 2016, at 9:51 AM, Quincey Morris <email@hidden> wrote:
>
> On Oct 18, 2016, at 08:00 , Alan Snyder <email@hidden> wrote:
>>
>> Is the choice to gray or not to gray when inactive under programmer control?
>
> IIRC you can control this by the the value of “acceptsFirstMouse”. The NSView default is NO, but NSButton overrides it to return YES. To change it back again, you need to subclass NSButton and override the method. (But it’s a while since I’ve had to deal with this, and there may be other API for directly controlling the appearance.)
>
>


_______________________________________________

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: inconsistencies in view renderings
      • From: Quincey Morris <email@hidden>
References: 
 >inconsistencies in view renderings (From: Alan Snyder <email@hidden>)
 >Re: inconsistencies in view renderings (From: Quincey Morris <email@hidden>)
 >Re: inconsistencies in view renderings (From: Alan Snyder <email@hidden>)
 >Re: inconsistencies in view renderings (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: inconsistencies in view renderings
  • Next by Date: Re: inconsistencies in view renderings
  • Previous by thread: Re: inconsistencies in view renderings
  • Next by thread: Re: inconsistencies in view renderings
  • Index(es):
    • Date
    • Thread