wxListBox
See external documentation: wxListBox.
See external documentation:
This class is derived (and can use functions) from:
wxControlWithItems
wxControl
wxWindow
wxEvtHandler
Functions
new() -> wxListBox()
See
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
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)]
Equivalent to create(This, Parent, Id, Pos, Size, Choices, []).
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
deselect(This, N) -> ok
This = wxListBox()
N = integer()
See
getSelections(This) -> Result
Result = {Res::integer(), ASelections::[integer()]}
This = wxListBox()
See
insertItems(This, Items, Pos) -> ok
This = wxListBox()
Items = [chardata() (see module unicode)]
Pos = integer()
See
isSelected(This, N) -> boolean()
This = wxListBox()
N = integer()
See
set(This, Items) -> ok
This = wxListBox()
Items = [chardata() (see module unicode)]
See
hitTest(This, Point) -> integer()
This = wxListBox()
Point = {X::integer(), Y::integer()}
See
setFirstItem(This, N) -> ok
This = wxListBox()
N = integer()
See
Also:
setFirstItem(This, S) -> ok when
This::wxListBox(), S::unicode:chardata().
destroy(This::wxListBox()) -> ok
Destroys this object, do not use object again