wxSpinEvent(3erl)

wxSpinEvent3erl

Functions for wxspinevent class

Overview

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

Events

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

Data types

wxSpinEvent() = wx:wx_object()
wxSpin() = 
    #wxSpin{type = wxSpinEvent:wxSpinEventType(),
            commandInt = integer()}
wxSpinEventType() = 
    command_spinctrl_updated | spin_up | spin_down | spin

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.

Releases

7 releases since Debian 6.0 (Squeeze); the text changed 6 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12

From erlang-manpages 1:25.2.3+dfsg-1+deb12u4 in Debian 12 (Bookworm). Parsed by carta from the page's man source.