• 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: Trouble Subclassing NSButtonCell for Buttons in a nib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble Subclassing NSButtonCell for Buttons in a nib


  • Subject: Re: Trouble Subclassing NSButtonCell for Buttons in a nib
  • From: j o a r <email@hidden>
  • Date: Mon, 23 May 2005 10:09:48 +0200


On 23 maj 2005, at 10.04, Arshad Tayyeb wrote:

I'm trying to subclass an NSButton/NSButtonCell so I can get some custom drawing. Really, the only thing I want to do is make the text a different color (say, red).

How about using the "setAttributedTitle:" method of NSButton/*Cell instead of subclassing? Would that work?


j o a r



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

  • Follow-Ups:
    • Re: Trouble Subclassing NSButtonCell for Buttons in a nib
      • From: Arshad Tayyeb <email@hidden>
References: 
 >Trouble Subclassing NSButtonCell for Buttons in a nib (From: Arshad Tayyeb <email@hidden>)

  • Prev by Date: Trouble Subclassing NSButtonCell for Buttons in a nib
  • Next by Date: Re: Trouble Subclassing NSButtonCell for Buttons in a nib
  • Previous by thread: Trouble Subclassing NSButtonCell for Buttons in a nib
  • Next by thread: Re: Trouble Subclassing NSButtonCell for Buttons in a nib
  • Index(es):
    • Date
    • Thread