View Source wxSpinEvent (wx v2.4.3)
This event class is used for the events generated by wxSpinButton
and wxSpinCtrl
.
See:
This class is derived, and can use functions, from:
wxWidgets docs: wxSpinEvent
Events
Use wxEvtHandler:connect/3
with wxSpinEventType
to subscribe to events of this type.
Summary
Functions
Retrieve the current spin button or control value.
Set the value associated with the event.
Types
-type wxSpin() :: #wxSpin{type :: wxSpinEvent:wxSpinEventType(), commandInt :: integer()}.
-type wxSpinEvent() :: wx:wx_object().
-type wxSpinEventType() :: command_spinctrl_updated | spin_up | spin_down | spin.
Functions
-spec getPosition(This) -> integer() when This :: wxSpinEvent().
Retrieve the current spin button or control value.
-spec setPosition(This, Pos) -> ok when This :: wxSpinEvent(), Pos :: integer().
Set the value associated with the event.