• 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: ToolTips for attachments
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ToolTips for attachments


  • Subject: Re: ToolTips for attachments
  • From: Douglas Davidson <email@hidden>
  • Date: Thu, 12 Oct 2006 11:29:19 -0700


On Oct 12, 2006, at 11:18 AM, Gerriet M. Denkmann wrote:

NSTextView has a delegate method: textView:willDisplayToolTip:forCharacterAtIndex:. But this gets never called.
Is there some way to set a toolTip for a character?

This method allows you to control the tool tip displayed for a given portion of text, but only if the text already has a tool tip to begin with. You must first add the tool tip attribute to the text of interest. If you do that, you may find that you do not need the delegate method; it is only necessary if you want dynamic control at the time of display.


Douglas Davidson



_______________________________________________
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: 
 >ToolTips for attachments (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: ToolTips for attachments
  • Next by Date: Printing
  • Previous by thread: ToolTips for attachments
  • Next by thread: Printing
  • Index(es):
    • Date
    • Thread