wxErlang

Reference Manual

Version 2.0.1

Table of Contents

wxSpinEvent

Module

wxSpinEvent

Module Summary

Functions for wxSpinEvent class

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: wxNotifyEvent wxCommandEvent wxEvent

wxWidgets docs: wxSpinEvent

Events

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

Data Types

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

wxSpinEventType() =
    command_spinctrl_updated | spin_up | spin_down | spin

getPosition(This) -> integer()

Types

Retrieve the current spin button or control value.

setPosition(This, Pos) -> ok

Types

Pos = integer()

Set the value associated with the event.