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 <michaelacrawf...@me.com> 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 (Cocoa-dev@lists.apple.com)
>> 
>> 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:
>> https://lists.apple.com/mailman/options/cocoa-dev/garywade%40desisoftsystems.com
>> 
>> This email sent to garyw...@desisoftsystems.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to