mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 20:40:47 +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
42bbcde0a9
commit
3ece70c022
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>
|
2010-08-03 17:21-EDT Gregory John Casamento <greg.casamento@gmail.com>
|
||||||
|
|
||||||
* Source/GSTheme.m: remove forward declaration for _setArchiveByName
|
* Source/GSTheme.m: remove forward declaration for _setArchiveByName
|
||||||
|
|
|
@ -379,11 +379,20 @@ static float scrollerWidth;
|
||||||
[self tile];
|
[self tile];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
<p> Return wether scroller autohiding is set or not. </p>
|
||||||
|
<p>See Also: -setAutohidesScrollers:</p>
|
||||||
|
*/
|
||||||
- (BOOL) autohidesScrollers
|
- (BOOL) autohidesScrollers
|
||||||
{
|
{
|
||||||
return _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
|
- (void) setAutohidesScrollers: (BOOL)flag
|
||||||
{
|
{
|
||||||
_autohidesScrollers = flag;
|
_autohidesScrollers = flag;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue