Phoenix Logo

phoenix_title 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 Class Hierarchy

Inheritance diagram for class DragScroller:


method_summary Methods Summary

__init__  
GetScrollWindow  
GetSensitivity  
GetUpdateRate  
OnTimerDoScroll  
SetScrollWindow  
SetSensitivity  
SetUpdateRate  
Start Start a drag scroll operation
Stop Stops a drag scroll operation

api 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)


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