DOKK / manpages / debian 12 / erlang-manpages / wxSpinEvent.3erl.en
wxSpinEvent(3erl) Erlang Module Definition wxSpinEvent(3erl)

wxSpinEvent - Functions for wxSpinEvent class

This event class is used for the events generated by wxSpinButton and wxSpinCtrl.

See: wxSpinButton, and, wxSpinCtrl

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

wxWidgets docs: wxSpinEvent

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

wxSpinEvent() = wx:wx_object()

wxSpin() = 

#wxSpin{type = wxSpinEvent:wxSpinEventType(),
commandInt = integer()}
wxSpinEventType() = 

command_spinctrl_updated | spin_up | spin_down | spin


getPosition(This) -> integer()


Types:

This = wxSpinEvent()

Retrieve the current spin button or control value.


setPosition(This, Pos) -> ok


Types:

This = wxSpinEvent()
Pos = integer()

Set the value associated with the event.

wx 2.2.1 wxWidgets team.