• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Tiger Mail.app style toolbar item
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Tiger Mail.app style toolbar item (From: Eric Lin <email@hidden>)
 >Re: Tiger Mail.app style toolbar item (From: Ryan Britton <email@hidden>)
 >Re: Tiger Mail.app style toolbar item (From: Eric Lin <email@hidden>)

  • Prev by Date: Re: Tiger Mail.app style toolbar item
  • Next by Date: Re: Tiger Mail.app style toolbar item
  • Previous by thread: Re: Tiger Mail.app style toolbar item
  • Next by thread: Re: Tiger Mail.app style toolbar item
  • Index(es):
    • Date
    • Thread