mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
added documentation for scroller hiding
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31076 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
cefa1b53e7
commit
e6f4c736b8
2 changed files with 14 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2010-08-03 Riccardo Mottola
|
||||
|
||||
* Source/NSScrollView.m :
|
||||
added documentation for scroller hiding.
|
||||
|
||||
2010-08-03 17:21-EDT Gregory John Casamento <greg.casamento@gmail.com>
|
||||
|
||||
* Source/GSTheme.m: remove forward declaration for _setArchiveByName
|
||||
|
|
|
@ -379,11 +379,20 @@ static float scrollerWidth;
|
|||
[self tile];
|
||||
}
|
||||
|
||||
/**
|
||||
<p> Return wether scroller autohiding is set or not. </p>
|
||||
<p>See Also: -setAutohidesScrollers:</p>
|
||||
*/
|
||||
- (BOOL) autohidesScrollers
|
||||
{
|
||||
return _autohidesScrollers;
|
||||
}
|
||||
|
||||
/**
|
||||
<p>Sets whether the view hides the scrollers (horizontal and/or vertical independendently) if they are not needed.</p>
|
||||
<p>If the content fits inside the clip view on the X or Y axis or both, the respective scroller is removed and additional space is gained.</p>
|
||||
<p>See Also: -autohidesScrollers</p>
|
||||
*/
|
||||
- (void) setAutohidesScrollers: (BOOL)flag
|
||||
{
|
||||
_autohidesScrollers = flag;
|
||||
|
|
Loading…
Reference in a new issue