/[gnue]/gnue-forms/src/uidrivers/wx/widgets/scrollbar.py
ViewVC logotype

Diff of /gnue-forms/src/uidrivers/wx/widgets/scrollbar.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by btami, Tue Aug 19 12:10:15 2003 UTC revision 1.3 by btami, Fri Aug 22 14:04:01 2003 UTC
# Line 75  class UIScrollBar(UIHelper): Line 75  class UIScrollBar(UIHelper):
75    
76    def adjustScrollbar(self, pos, range):    def adjustScrollbar(self, pos, range):
77        # position, thumbSize, range, pageSize, refresh = TRUE        # position, thumbSize, range, pageSize, refresh = TRUE
78        self._widget.SetScrollbar(pos, 1, range, self._rows-1)        self._widget.SetScrollbar(pos, self._rows, range+self._rows-1, self._rows-1)
79    
80  configuration = {  configuration = {
81      'baseClass'  : UIScrollBar,      'baseClass'  : UIScrollBar,

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26