Cocoa object tooltip delay?

As per this article, you can change the tooltip display for your apps by changing the default NSInitialToolTipDelay

.

So far this seems to be the only way to change the time it takes to display the tooltip, however it seems to be widely used.

Does anyone know how I can change the speed of the tooltip for one specific one NSTableView

?

+3


source to share


1 answer


After minimal research, my best (untested) suggestion would be for mouse tracking areas (mouseEntered: / mouseExited :) along with [[objc_lookUpClass("NSToolTipManager") sharedToolTipManager] setInitialToolTipDelay:0.1];

(as suggested here: http://lists.apple.com/archives/cocoa-dev/2003/Jan/msg01219. html ) to (re) set the delay when the mouse enters / exits the NSTableView rectangle.



+2


source







All Articles