From 3ece70c022d4dcb10f3cd3dc9ad23c9cb164a57e Mon Sep 17 00:00:00 2001 From: rmottola Date: Tue, 3 Aug 2010 22:26:25 +0000 Subject: [PATCH] added documentation for scroller hiding git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31076 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 5 +++++ Source/NSScrollView.m | 9 +++++++++ 2 files changed, 14 insertions(+) diff --git a/ChangeLog b/ChangeLog index 2a4bc7b7c..e546bed35 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 * Source/GSTheme.m: remove forward declaration for _setArchiveByName diff --git a/Source/NSScrollView.m b/Source/NSScrollView.m index ce4c0110e..cf5febfda 100644 --- a/Source/NSScrollView.m +++ b/Source/NSScrollView.m @@ -379,11 +379,20 @@ static float scrollerWidth; [self tile]; } +/** +

Return wether scroller autohiding is set or not.

+

See Also: -setAutohidesScrollers:

+*/ - (BOOL) autohidesScrollers { return _autohidesScrollers; } +/** +

Sets whether the view hides the scrollers (horizontal and/or vertical independendently) if they are not needed.

+

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.

+

See Also: -autohidesScrollers

+ */ - (void) setAutohidesScrollers: (BOOL)flag { _autohidesScrollers = flag;