wxSpinCtrl

See external documentation: wxSpinCtrl.

See external documentation: wxSpinCtrl.

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

Types


wxSpinCtrl() = wx:wx_object()

Functions


new() -> wxSpinCtrl()

See external documentation.

new(Parent) -> wxSpinCtrl()

  • Parent = wxWindow() (see module wxWindow)

Equivalent to new(Parent, []).

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

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

See external documentation.

create(This, Parent) -> boolean()

  • This = wxSpinCtrl()
  • Parent = wxWindow() (see module wxWindow)

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

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

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

See external documentation.

setValue(This, Value) -> ok

  • This = wxSpinCtrl()
  • Value = integer()

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

getValue(This) -> integer()

  • This = wxSpinCtrl()

See external documentation.

setRange(This, MinVal, MaxVal) -> ok

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

See external documentation.

setSelection(This, From, To) -> ok

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

See external documentation.

getMin(This) -> integer()

  • This = wxSpinCtrl()

See external documentation.

getMax(This) -> integer()

  • This = wxSpinCtrl()

See external documentation.

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

Destroys this object, do not use object again