Re: Clicking on an NSColorWell
Re: Clicking on an NSColorWell
- Subject: Re: Clicking on an NSColorWell
- From: Jonathon Kuo <email@hidden>
- Date: Fri, 12 Mar 2010 14:17:41 -0800
I need to generate an ad-hoc number of color swatches in a floating window so that when a user clicks on one of them, the 'active' color of a stylus will change to that color. Most likely NSColorWell is not the right tool for the job...
On Mar 12, 2010, at 2:10 PM, Kevin Wojniak wrote:
> Subclass and override mouseDown: - however if you're trying to intercept right before the color panel is shown, or a drag starts, that may be trickier.
>
> What are you trying to do generally?
>
>
> On Mar 12, 2010, at 1:30 PM, Jonathon Kuo wrote:
>
>> How can I intercept or get notified when a user clicks on an NSColorWell?
>> OSX 10.6.2
>>
>> _______________________________________________
>>
>> 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
>
>
_______________________________________________
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