mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-01 00:30:49 +00:00
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:
parent
ae0a552cc0
commit
ac9ba8983c
3 changed files with 17 additions and 0 deletions
|
@ -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.
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -276,4 +276,14 @@
|
||||||
return _label;
|
return _label;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (void) setToolTip: (NSString *)toolTip
|
||||||
|
{
|
||||||
|
ASSIGN(_toolTip,toolTip);
|
||||||
|
}
|
||||||
|
|
||||||
|
- (NSString *)toolTip
|
||||||
|
{
|
||||||
|
return _toolTip;
|
||||||
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue