• 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: Control over position of tooltip for a NSView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Control over position of tooltip for a NSView


  • Subject: Re: Control over position of tooltip for a NSView
  • From: "Luca C." <email@hidden>
  • Date: Tue, 24 Mar 2009 22:21:02 +0100

Hey Eric -

2009/3/24 Eric Gorr <email@hidden>

> Does one have any control over the position of a tooltip assigned to a
> NSView with the setToolTip: method?
>
> Is it possible, for example, to have the tooltip follow the cursor around
> while it is over the view?


I think the only way to do that would be to implement your own tooltips.
 You may be interested in -mouseEntered:, -mouseExited: and -mouseDragged:
methods of NSView (inherited from NSResponder).



--
--Luca C.
_______________________________________________

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: 
 >Control over position of tooltip for a NSView (From: Eric Gorr <email@hidden>)

  • Prev by Date: Re: Noob question: Weirdness getting the bounds of an NSView...
  • Next by Date: [Q] Convert PixMapHandle to NSBitmapImageRep
  • Previous by thread: Control over position of tooltip for a NSView
  • Next by thread: [Q] Convert PixMapHandle to NSBitmapImageRep
  • Index(es):
    • Date
    • Thread