• 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: NSTextField background
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextField background


  • Subject: Re: NSTextField background
  • From: Philip Dow <email@hidden>
  • Date: Mon, 30 Jan 2006 09:58:32 +0100

Have a look at subclassing NSTextFieldCell. Take a particularly close look at its superclass NSCell and the methods drawWithFrame:inView: and drawInteriorWithFrame:inView:

There are tons of examples of custom cell drawing out there, so have a look at those if you get stuck.

-Phil

On Jan 30, 2006, at 3:18 AM, Aleaxander Cohen wrote:

How can i set up an NSTextField so i can draw into it's background somewhat like safari does it in the address field?

thanks

Alex
_______________________________________________
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


_______________________________________________ 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: 
 >NSTextField background (From: Aleaxander Cohen <email@hidden>)

  • Prev by Date: To thread or not to thread?
  • Next by Date: Re: To thread or not to thread?
  • Previous by thread: NSTextField background
  • Next by thread: Leak in Apple's /Examples/SimpleStickies3_Final/EntityModel.m
  • Index(es):
    • Date
    • Thread