Improved documentation

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22092 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fabien Vallon 2005-11-24 10:49:32 +00:00
parent 248dcf44d8
commit cc10c14d04
2 changed files with 15 additions and 0 deletions

View file

@ -5,6 +5,7 @@
* Source/NSPageLayout.m: Improved documentation
* Source/NSPopUpButton.m: Improved documentation
* Source/NSSavePanel.m: Improved documentation
* Source/NSScrollView.m: Improved documentation
2005-11-22 Richard Frith-Macdonald <rfm@gnu.org>

View file

@ -1033,26 +1033,40 @@ static float scrollerWidth;
return _borderType;
}
/** <p>Returns whether the NSScrollView has a horizontal ruler</p>
<p>See Also: -setHasHorizontalRuler:</p>
*/
- (BOOL) hasHorizontalRuler
{
return _hasHorizRuler;
}
/** <p>Returns whether the NSScrollView has a horizontal scroller</p>
<p>See Also: -setHasHorizontalScroller:</p>
*/
- (BOOL) hasHorizontalScroller
{
return _hasHorizScroller;
}
/** <p>Returns whether the NSScrollView has a vertical ruler</p>
<p>See Also: -setHasVerticalRuler:</p>
*/
- (BOOL) hasVerticalRuler
{
return _hasVertRuler;
}
/** <p>Returns whether the NSScrollView has a vertical scroller</p>
<p>See Also: -setHasVerticalScroller:</p>
*/
- (BOOL) hasVerticalScroller
{
return _hasVertScroller;
}
/**<p>Returns the size of the NSScrollView's content view</p>
*/
- (NSSize) contentSize
{
return [_contentView bounds].size;