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.
Methods Summary¶__init__ |
|
GetScrollWindow |
|
GetSensitivity |
|
GetUpdateRate |
|
OnTimerDoScroll |
|
SetScrollWindow |
|
SetSensitivity |
|
SetUpdateRate |
|
Start |
Start a drag scroll operation |
Stop |
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)¶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