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¶
Methods Summary¶
Initialize self. See help(type(self)) for accurate signature. |
|
Start a drag scroll operation |
|
Stops a drag scroll operation |
Class API¶
- class 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.
Methods¶
- __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