mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 18:00:37 +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
|
@ -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…
Add table
Add a link
Reference in a new issue