logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

wxScrollWinEvent - Functions for wxScrollWinEvent class

Data Types

wxScrollWinEvent() = wx:wx_object()

       wxScrollWin() =
           #wxScrollWin{type = wxScrollWinEvent:wxScrollWinEventType(),
                        commandInt = integer(),
                        extraLong = integer()}

       wxScrollWinEventType() =
           scrollwin_top | scrollwin_bottom | scrollwin_lineup |
           scrollwin_linedown | scrollwin_pageup | scrollwin_pagedown |
           scrollwin_thumbtrack | scrollwin_thumbrelease

Description

       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.

       See: wxScrollEvent, Overview events

       This class is derived (and can use functions) from: wxEvent

       wxWidgets docs: wxScrollWinEvent

Events

       Use wxEvtHandler:connect/3 with wxScrollWinEventType to subscribe to events of this type.

Exports

getOrientation(This)->integer()

              Types:

                 This = wxScrollWinEvent()

              Returns wxHORIZONTAL or wxVERTICAL, depending on the orientation of the scrollbar.

       getPosition(This)->integer()

              Types:

                 This = wxScrollWinEvent()

              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.

wxWidgets team.                                     wx 2.1.1                              wxScrollWinEvent(3erl)

Name

       wxScrollWinEvent - Functions for wxScrollWinEvent class

See Also