wxScrollBar

See external documentation: wxScrollBar.

See external documentation: wxScrollBar.

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

Types


wxScrollBar() = wx:wx_object()

Functions


new() -> wxScrollBar()

See external documentation.

new(Parent, Id) -> wxScrollBar()

  • Parent = wxWindow() (see module wxWindow)
  • Id = integer()

Equivalent to new(Parent, Id, []).

new(Parent, Id, Option::[Option]) -> wxScrollBar()

  • Parent = wxWindow() (see module wxWindow)
  • Id = integer()
  • Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx_object() (see module wx)}

See external documentation.

create(This, Parent, Id) -> boolean()

  • This = wxScrollBar()
  • Parent = wxWindow() (see module wxWindow)
  • Id = integer()

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

  • This = wxScrollBar()
  • Parent = wxWindow() (see module wxWindow)
  • Id = integer()
  • Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx_object() (see module wx)}

See external documentation.

getRange(This) -> integer()

  • This = wxScrollBar()

See external documentation.

getPageSize(This) -> integer()

  • This = wxScrollBar()

See external documentation.

getThumbPosition(This) -> integer()

  • This = wxScrollBar()

See external documentation.

getThumbSize(This) -> integer()

  • This = wxScrollBar()

See external documentation.

setThumbPosition(This, ViewStart) -> ok

  • This = wxScrollBar()
  • ViewStart = integer()

See external documentation.

setScrollbar(This, Position, ThumbSize, Range, PageSize) -> ok

  • This = wxScrollBar()
  • Position = integer()
  • ThumbSize = integer()
  • Range = integer()
  • PageSize = integer()

setScrollbar(This, Position, ThumbSize, Range, PageSize, Option::[Option]) -> ok

  • This = wxScrollBar()
  • Position = integer()
  • ThumbSize = integer()
  • Range = integer()
  • PageSize = integer()
  • Option = {refresh, boolean()}

See external documentation.

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

Destroys this object, do not use object again