 
       wx.ScrollWinEvent¶
  wx.ScrollWinEvent¶A scroll event holds information about events sent from scrolling windows.
Note that you can use the EVT_SCROLLWIN macros for intercepting scroll window events from the receiving window.
 Events Emitted by this Class¶
 Events Emitted by this Class¶Handlers bound for the following event types will receive a wx.ScrollWinEvent parameter.
wxEVT_SCROLLWIN_TOP   scroll-to-top events.wxEVT_SCROLLWIN_BOTTOM   scroll-to-bottom events.wxEVT_SCROLLWIN_LINEUP   line up events.wxEVT_SCROLLWIN_LINEDOWN   line down events.wxEVT_SCROLLWIN_PAGEUP   page up events.wxEVT_SCROLLWIN_PAGEDOWN   page down events.wxEVT_SCROLLWIN_THUMBTRACK   thumbtrack events (frequent events sent as the user drags the thumbtrack).wxEVT_SCROLLWIN_THUMBRELEASE   thumb release events.See also
 Methods Summary¶
 Methods Summary¶| __init__ | Constructor. | 
| GetOrientation | Returns wx.HORIZONTALorwx.VERTICAL, depending on the orientation of the scrollbar. | 
| GetPosition | Returns the position of the scrollbar for the thumb track and release events. | 
| SetOrientation | |
| SetPosition | 
 Properties Summary¶
 Properties Summary¶| Orientation | See GetOrientationandSetOrientation | 
| Position | See GetPositionandSetPosition | 
 Class API¶
 Class API¶wx.ScrollWinEvent(Event)¶Possible constructors:
ScrollWinEvent(commandType=wxEVT_NULL, pos=0, orientation=0)
A scroll event holds information about events sent from scrolling windows.
__init__(self, commandType=wxEVT_NULL, pos=0, orientation=0)¶Constructor.
| Parameters: | 
 | 
|---|
GetOrientation(self)¶Returns wx.HORIZONTAL or wx.VERTICAL, depending on the orientation of the scrollbar.
| Return type: | int | 
|---|
Todo
wx.HORIZONTAL and wx.VERTICAL should go in their own enum
GetPosition(self)¶Returns the position of the scrollbar for the thumb track and release events.
Note that this field can’t be used for the other events, you need to query the window itself for the current position in that case.
| Return type: | int | 
|---|
SetOrientation(self, orient)¶| Parameters: | orient (int) – | 
|---|
SetPosition(self, pos)¶| Parameters: | pos (int) – | 
|---|
Orientation¶See GetOrientation and SetOrientation
Position¶See GetPosition and SetPosition