Re: NSButtonCell subclass that ignores events
Re: NSButtonCell subclass that ignores events
- Subject: Re: NSButtonCell subclass that ignores events
- From: Andy Armstrong <email@hidden>
- Date: Wed, 5 Oct 2005 23:08:26 +0100
On 5 Oct 2005, at 22:59, Ricky Sharp wrote:
Why not just subclass NSCell instead?
Yes, could do - I should have been clearer about that. I originally
subclassed NSCell and had a control that did exactly what I wanted.
So I should have stopped then, right? :)
I wasn't entirely happy with duplicating the bits of button behaviour
I wanted though - it seemed inelegant. So now I'm investigating
subclassing NSButtonCell and disabling event handling - basically to
see which solution looks cleaner to me.
So given that I know that subclassing NSCell works fine are you
saying that that's preferable to subclassing NSButtonCell?
--
Andy Armstrong, hexten.net
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden