Re: Tiger Mail.app style toolbar item
Re: Tiger Mail.app style toolbar item
- Subject: Re: Tiger Mail.app style toolbar item
- From: Ryan Britton <email@hidden>
- Date: Thu, 29 Dec 2005 14:18:47 -0800
I forgot to mention that that was minus the mouse-over effect as
well. The only way to get that is to subclass and implement your own
control with the appropriate tracking rects.
If you don't mind that, then you just have to create the image for
the button, assign it, and call - (void)setBordered:(BOOL)flag with
NO as the flag on the button. This is definitely the simplest way to
do it, but it doesn't lend itself to reusability.
I have done an implementation of this using a subclass of NSButton
and NSButtonCell that I can send you off-list if you want. It does
not have the mouse-over functionality, but that's not hard to add.
On Dec 29, 2005, at 1:53 PM, Eric Lin wrote:
Thanks for the detailed response Ryan.
the other one can be done with just a normal NSButton
instance.
Can you explain to me how?
_______________________________________________
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