Fixed the point argument to -view:stringForToolTip:point:userData: (should be relative to the tracking rectangle, was relative to the window). Added support for displaying tooltips from NSToolTipAttributeName attributes in NSTextView.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31550 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
theraven 2010-10-22 16:38:29 +00:00
parent ca5443707d
commit 78873afa01
3 changed files with 101 additions and 1 deletions

View file

@ -56,6 +56,10 @@
- (NSToolTipTag) addToolTipRect: (NSRect)aRect
owner: (id)anObject
userData: (void *)data;
/**
* Removes all of the tool tips in a given rectangle.
*/
- (void)removeToolTipsInRect: (NSRect)aRect;
/** Return the number of tooltip rectangles active.
*/