Thanks Kyle - looks just the job. --Graham
On 10 Apr 2014, at 3:57 pm, Kyle Sluder <k...@ksluder.com> wrote: > > (Sent from the road) > >> On Apr 9, 2014, at 10:17 PM, Graham Cox <graham....@bigpond.com> 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 (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com