• 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
How to display tool-tip on demand
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to display tool-tip on demand


  • Subject: How to display tool-tip on demand
  • From: Michael Crawford <email@hidden>
  • Date: Sun, 05 Aug 2012 19:56:00 -0400

Is there a way to display a tool-tip in response to an event?  Currently I'm waiting for the default timeout but if the user clicks on a particular cell (yes this is an NSTableView), I'd like to display the tool-tip immediately.  The contents of the NSTableColumn in question are not editable so I don't need the mouse click for anything else.

I tried changing the default timeout using the following code but It does not work in that I don't observe a change in the tool-tip delay.

[[NSUserDefaults standardUserDefaults] setObject: [NSNumber numberWithInt: 50]
                                          forKey: @"NSInitialToolTipDelay"];

I really prefer to click to overriding the delay anyhow so I'm not really interested in troubleshooting or digging in the failure of changing the default setting.

-Michael
_______________________________________________

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

  • Follow-Ups:
    • Re: How to display tool-tip on demand
      • From: "Gary L. Wade" <email@hidden>
    • Re: How to display tool-tip on demand
      • From: Jens Alfke <email@hidden>
  • Prev by Date: RE: How to (slowly) rotate a view
  • Next by Date: Re: How to display tool-tip on demand
  • Previous by thread: Re: How to (slowly) rotate a view
  • Next by thread: Re: How to display tool-tip on demand
  • Index(es):
    • Date
    • Thread