• 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: NSButton ical Like
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSButton ical Like


  • Subject: Re: NSButton ical Like
  • From: "Kyle Sluder" <email@hidden>
  • Date: Wed, 19 Nov 2008 18:33:59 -0500

On Wed, Nov 19, 2008 at 2:37 PM, Emmanuel Pinault <email@hidden> wrote:
> How do I make a button like the mini calendar in ical (the one that show the
> days and when one is selected , it shows the day with a blue gradient)?

Subclass NSButtonCell and put your subclass in an NSMatrix.  There's
no way to achieve your goal using just the standard NSButtonCell
behavior.  As for the actual drawing, the new Leopard-only NSGradient
class will help.

--Kyle Sluder
_______________________________________________

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

References: 
 >NSButton ical Like (From: Emmanuel Pinault <email@hidden>)

  • Prev by Date: Re: Autorelease Question
  • Next by Date: Re: Autorelease Question
  • Previous by thread: Re: NSButton ical Like
  • Next by thread: Question about NSThread?
  • Index(es):
    • Date
    • Thread