wxListBox

See external documentation: wxListBox.

See external documentation: wxListBox.

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

Types


wxListBox() = wx:wx_object()

Functions


new() -> wxListBox()

See external documentation.

new(Parent, Id) -> wxListBox()

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

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

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

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

See external documentation.

create(This, Parent, Id, Pos, Size, Choices) -> boolean()

  • This = wxListBox()
  • Parent = wxWindow() (see module wxWindow)
  • Id = integer()
  • Pos = {X::integer(), Y::integer()}
  • Size = {W::integer(), H::integer()}
  • Choices = [chardata() (see module unicode)]

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

  • This = wxListBox()
  • Parent = wxWindow() (see module wxWindow)
  • Id = integer()
  • Pos = {X::integer(), Y::integer()}
  • Size = {W::integer(), H::integer()}
  • Choices = [chardata() (see module unicode)]
  • Option = {style, integer()} | {validator, wx_object() (see module wx)}

See external documentation.

deselect(This, N) -> ok

  • This = wxListBox()
  • N = integer()

See external documentation.

getSelections(This) -> Result

  • Result = {Res::integer(), ASelections::[integer()]}
  • This = wxListBox()

See external documentation.

insertItems(This, Items, Pos) -> ok

  • This = wxListBox()
  • Items = [chardata() (see module unicode)]
  • Pos = integer()

See external documentation.

isSelected(This, N) -> boolean()

  • This = wxListBox()
  • N = integer()

See external documentation.

set(This, Items) -> ok

  • This = wxListBox()
  • Items = [chardata() (see module unicode)]

See external documentation.

hitTest(This, Point) -> integer()

  • This = wxListBox()
  • Point = {X::integer(), Y::integer()}

See external documentation.

setFirstItem(This, N) -> ok

  • This = wxListBox()
  • N = integer()

See external documentation.
Also:
setFirstItem(This, S) -> ok when
This::wxListBox(), S::unicode:chardata().

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

Destroys this object, do not use object again