Add tootip methods.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35463 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
gcasa 2012-08-27 15:29:32 +00:00
parent ae0a552cc0
commit ac9ba8983c
3 changed files with 17 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2012-08-27 11:44-EDT Gregory John Casamento <greg.casamento@gmail.com>
* Headers/AppKit/NSTabViewItem.h: Add _toolTip ivar.
* Source/NSTabViewItem.m: Add setToolTip:/toolTip methods. These
methods were added in 10.6.
2012-08-17 Fred Kiefer <FredKiefer@gmx.de> 2012-08-17 Fred Kiefer <FredKiefer@gmx.de>
Merged changes from gnustep_testplant_branch branch. Merged changes from gnustep_testplant_branch branch.

View file

@ -52,6 +52,7 @@ typedef enum {
NSView *_first_responder; NSView *_first_responder;
NSTabView *_tabview; NSTabView *_tabview;
NSRect _rect; // cached NSRect _rect; // cached
NSString *_toolTip;
} }
- (id) initWithIdentifier:(id)identifier; - (id) initWithIdentifier:(id)identifier;

View file

@ -276,4 +276,14 @@
return _label; return _label;
} }
- (void) setToolTip: (NSString *)toolTip
{
ASSIGN(_toolTip,toolTip);
}
- (NSString *)toolTip
{
return _toolTip;
}
@end @end