1wxSpinEvent(3) Erlang Module Definition wxSpinEvent(3)
2
3
4
6 wxSpinEvent - Functions for wxSpinEvent class
7
9 This event class is used for the events generated by wxSpinButton and
10 wxSpinCtrl.
11
12 See: wxSpinButton, and, wxSpinCtrl
13
14 This class is derived (and can use functions) from: wxNotifyEvent wx‐
15 CommandEvent wxEvent
16
17 wxWidgets docs: wxSpinEvent
18
20 Use wxEvtHandler:connect/3 with wxSpinEventType to subscribe to events
21 of this type.
22
24 wxSpinEvent() = wx:wx_object()
25
26 wxSpin() =
27 #wxSpin{type = wxSpinEvent:wxSpinEventType(),
28 commandInt = integer()}
29
30 wxSpinEventType() =
31 command_spinctrl_updated | spin_up | spin_down | spin
32
34 getPosition(This) -> integer()
35
36 Types:
37
38 This = wxSpinEvent()
39
40 Retrieve the current spin button or control value.
41
42 setPosition(This, Pos) -> ok
43
44 Types:
45
46 This = wxSpinEvent()
47 Pos = integer()
48
49 Set the value associated with the event.
50
51
52
53wxWidgets team. wx 2.1.4 wxSpinEvent(3)