1wxScrollWinEvent(3) Erlang Module Definition wxScrollWinEvent(3)
2
3
4
6 wxScrollWinEvent - Functions for wxScrollWinEvent class
7
9 A scroll event holds information about events sent from scrolling win‐
10 dows.
11
12 Note that you can use the EVT_SCROLLWIN* macros for intercepting scroll
13 window events from the receiving window.
14
15 See: wxScrollEvent, Overview events
16
17 This class is derived (and can use functions) from: wxEvent
18
19 wxWidgets docs: wxScrollWinEvent
20
22 Use wxEvtHandler:connect/3 with wxScrollWinEventType to subscribe to
23 events of this type.
24
26 wxScrollWinEvent() = wx:wx_object()
27
28 wxScrollWin() =
29 #wxScrollWin{type = wxScrollWinEvent:wxScrollWinEventType(),
30 commandInt = integer(),
31 extraLong = integer()}
32
33 wxScrollWinEventType() =
34 scrollwin_top | scrollwin_bottom | scrollwin_lineup |
35 scrollwin_linedown | scrollwin_pageup | scrollwin_pagedown |
36 scrollwin_thumbtrack | scrollwin_thumbrelease
37
39 getOrientation(This) -> integer()
40
41 Types:
42
43 This = wxScrollWinEvent()
44
45 Returns wxHORIZONTAL or wxVERTICAL, depending on the orientation
46 of the scrollbar.
47
48 getPosition(This) -> integer()
49
50 Types:
51
52 This = wxScrollWinEvent()
53
54 Returns the position of the scrollbar for the thumb track and
55 release events.
56
57 Note that this field can't be used for the other events, you
58 need to query the window itself for the current position in that
59 case.
60
61
62
63wxWidgets team. wx 2.2.2 wxScrollWinEvent(3)