Re: button cell highlight/state/type
Re: button cell highlight/state/type
- Subject: Re: button cell highlight/state/type
- From: Graham Cox <email@hidden>
- Date: Thu, 10 Apr 2014 16:09:18 +1000
Thanks Kyle - looks just the job.
--Graham
On 10 Apr 2014, at 3:57 pm, Kyle Sluder <email@hidden> wrote:
>
> (Sent from the road)
>
>> On Apr 9, 2014, at 10:17 PM, Graham Cox <email@hidden> wrote:
>>
>> Hi all,
>>
>> 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.
>
> Try my button tester: https://github.com/kylesluder/ButtonTester
>
>>
>> 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.
>
> Highlight refers to “mouse is currently depressed.”
>
> --Kyle Sluder
_______________________________________________
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