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.
Initialize self. See help(type(self)) for accurate signature. |
|
Start a drag scroll operation |
|
Stops a drag scroll operation |
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