wx.lib.dragscroller.DragScroller¶Scrolls a wx.ScrollWindow in the direction and speed of a mouse drag.
Call Start with the position of the drag start. Call Stop on the drag release.
Class Hierarchy¶
Inheritance diagram for class DragScroller:

Methods Summary¶Initialize self. See help(type(self)) for accurate signature. |
|
Start a drag scroll operation |
|
Stops a drag scroll operation |
Class API¶DragScroller¶Scrolls a wx.ScrollWindow in the direction and speed of a mouse drag.
Call Start with the position of the drag start. Call Stop on the drag release.
__init__(self, scrollwin=None, rate=30, sensitivity=0.75)¶Initialize self. See help(type(self)) for accurate signature.
GetScrollWindow(self)¶GetSensitivity(self)¶GetUpdateRate(self)¶OnTimerDoScroll(self, event)¶SetScrollWindow(self, scrollwin)¶SetSensitivity(self, sensitivity)¶SetUpdateRate(self, rate)¶Start(self, pos)¶Start a drag scroll operation
Stop(self)¶Stops a drag scroll operation