A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://wxpython.org/Phoenix/docs/html/wx.ScrollWinEvent.html below:

wx.ScrollWinEvent — wxPython Phoenix 4.2.4a1 documentation

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¶

Handlers bound for the following event types will receive a wx.ScrollWinEvent parameter.

Class Hierarchy¶

Inheritance diagram for class

ScrollWinEvent

:

Methods Summary¶ Properties Summary¶ Class API¶
class wx.ScrollWinEvent(Event)¶

Possible constructors:

ScrollWinEvent(commandType=wxEVT_NULL, pos=0, orientation=0) -> None

A scroll event holds information about events sent from scrolling windows.


Methods¶
__init__(self, commandType=wxEVT_NULL, pos=0, orientation=0)¶

Constructor.

Parameters:
  • commandType (wx.EventType)

  • pos (int)

  • orientation (int)

Return type:

None


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)

Return type:

None


SetPosition(self, pos)¶
Parameters:

pos (int)

Return type:

None


Properties¶
Orientation¶

See GetOrientation and SetOrientation


Position¶

See GetPosition and SetPosition


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4