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

Re: How to display tool-tip on demand


  • Subject: Re: How to display tool-tip on demand
  • From: Dave DeLong <email@hidden>
  • Date: Sun, 05 Aug 2012 19:25:48 -0700

I saw some hits on Google mentioning NSHelpManager.  I've never used it, but you could try poking around in there for stuff.

Dave

On Aug 5, 2012, at 7:23 PM, Michael Crawford <email@hidden> wrote:

> NSPopover it is.
>
> -Michael
>
> On Aug 5, 2012, at 8:58 PM, Gary L. Wade wrote:
>
>> No, I couldn't find a way either, so I just made my own window that mirrored the look and feel of a tooltip window. I also needed it to follow a slider's thumb, which would have been problematic even in the default implementation. Of course, now we have NSPopover windows that could fit your need.
>> --
>> Gary L. Wade (Sent from my iPhone)
>> http://www.garywade.com/
>>
>> On Aug 5, 2012, at 4:56 PM, Michael Crawford <email@hidden> wrote:
>>
>>> 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
>
> _______________________________________________
>
> 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

_______________________________________________

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: 
 >How to display tool-tip on demand (From: Michael Crawford <email@hidden>)
 >Re: How to display tool-tip on demand (From: "Gary L. Wade" <email@hidden>)
 >Re: How to display tool-tip on demand (From: Michael Crawford <email@hidden>)

  • Prev by Date: Re: How to display tool-tip on demand
  • Next by Date: makeFirstResponder: and tab views
  • Previous by thread: Re: How to display tool-tip on demand
  • Next by thread: Trying to understand [NSFontManager modifyFont:]
  • Index(es):
    • Date
    • Thread