Author: johannes
Date: 2005-09-20 10:27:36 -0500 (Tue, 20 Sep 2005)
New Revision: 7930
Modified:
trunk/gnue-forms/src/GFObjects/GFScrollBar.py
Log:
Added comments
Modified: trunk/gnue-forms/src/GFObjects/GFScrollBar.py
===================================================================
--- trunk/gnue-forms/src/GFObjects/GFScrollBar.py 2005-09-20 15:25:31 UTC
(rev 7929)
+++ trunk/gnue-forms/src/GFObjects/GFScrollBar.py 2005-09-20 15:27:36 UTC
(rev 7930)
@@ -101,8 +101,18 @@
self._block.jumpRecord (recordNumber)
+
+ # ---------------------------------------------------------------------------
+ # Jump to a record relative to the current record
+ # ---------------------------------------------------------------------------
+
def jumpRelative (self, adjustment):
+ """
+ Move the current record by a given adjustment
+ @param adjustment: number of records to be moved (can be negative)
+ """
+
self._block.jumpRecords (adjustment)
_______________________________________________
Commit-gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnue