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

wxSpinEvent - Functions for wxSpinEvent class

Data Types

wxSpinEvent() = wx:wx_object()

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

       wxSpinEventType() =
           command_spinctrl_updated | spin_up | spin_down | spin

Description

       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: wxNotifyEventwxCommandEventwxEvent

       wxWidgets docs: wxSpinEvent

Events

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

Exports

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.

wxWidgets team.                                     wx 2.1.1                                   wxSpinEvent(3erl)

Name

       wxSpinEvent - Functions for wxSpinEvent class

See Also