wxErlang

Reference Manual

Version 1.8.3

Table of Contents

wxSpinCtrl

Module

wxSpinCtrl

Module Summary

See external documentation: wxSpinCtrl.

Description

See external documentation: wxSpinCtrl.

This class is derived (and can use functions) from:
wxControl
wxWindow
wxEvtHandler

DATA TYPES

wxSpinCtrl()

An object reference, The representation is internal and can be changed without notice. It can't be used for comparsion stored on disc or distributed for use on other nodes.

Exports

new() -> wxSpinCtrl()

new(Parent) -> wxSpinCtrl()

Types

Equivalent to new(Parent, []).

new(Parent, Options::[Option]) -> wxSpinCtrl()

Types

Option = {id, integer()} | {value, unicode:chardata()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {min, integer()} | {max, integer()} | {initial, integer()}

create(This, Parent) -> boolean()

Types

This = wxSpinCtrl()

Equivalent to create(This, Parent, []).

create(This, Parent, Options::[Option]) -> boolean()

Types

This = wxSpinCtrl()
Option = {id, integer()} | {value, unicode:chardata()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {min, integer()} | {max, integer()} | {initial, integer()}

setValue(This, Value) -> ok

Types

This = wxSpinCtrl()
Value = integer()

See external documentation.
Also:
setValue(This, Text) -> 'ok' when
This::wxSpinCtrl(), Text::unicode:chardata().

getValue(This) -> integer()

Types

This = wxSpinCtrl()

setRange(This, MinVal, MaxVal) -> ok

Types

This = wxSpinCtrl()
MinVal = integer()
MaxVal = integer()

setSelection(This, From, To) -> ok

Types

This = wxSpinCtrl()
From = integer()
To = integer()

getMin(This) -> integer()

Types

This = wxSpinCtrl()

getMax(This) -> integer()

Types

This = wxSpinCtrl()

destroy(This::wxSpinCtrl()) -> ok

Destroys this object, do not use object again