How to display tool-tip on demand
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