.TH wxListBox 3erl "wx 1.8" "" "Erlang Module Definition" .SH NAME wxListBox \- See external documentation: wxListBox. .SH DESCRIPTION .LP See external documentation: wxListBox\&. .LP This class is derived (and can use functions) from: .br \fBwxControlWithItems\fR\& .br \fBwxControl\fR\& .br \fBwxWindow\fR\& .br \fBwxEvtHandler\fR\& .SH "DATA TYPES" .RS 2 .TP 2 .B wxListBox(): .RS 2 .LP 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\&. .RE .RE .SH EXPORTS .LP .B new() -> \fBwxListBox()\fR\& .br .RS .LP See external documentation\&. .RE .LP .B new(Parent, Id) -> \fBwxListBox()\fR\& .br .RS .LP Types: .RS 3 Parent = \fBwxWindow:wxWindow()\fR\& .br Id = integer() .br .RE .RE .RS .LP Equivalent to \fBnew(Parent, Id, [])\fR\&\&. .RE .LP .B new(Parent, Id, Options::[Option]) -> \fBwxListBox()\fR\& .br .RS .LP Types: .RS 3 Parent = \fBwxWindow:wxWindow()\fR\& .br Id = integer() .br Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {choices, [\fBunicode:chardata()\fR\&]} | {style, integer()} | {validator, \fBwx:wx_object()\fR\&} .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B create(This, Parent, Id, Pos, Size, Choices) -> boolean() .br .RS .LP Types: .RS 3 This = \fBwxListBox()\fR\& .br Parent = \fBwxWindow:wxWindow()\fR\& .br Id = integer() .br Pos = {X::integer(), Y::integer()} .br Size = {W::integer(), H::integer()} .br Choices = [\fBunicode:chardata()\fR\&] .br .RE .RE .RS .LP Equivalent to \fBcreate(This, Parent, Id, Pos, Size, Choices, [])\fR\&\&. .RE .LP .B create(This, Parent, Id, Pos, Size, Choices, Options::[Option]) -> boolean() .br .RS .LP Types: .RS 3 This = \fBwxListBox()\fR\& .br Parent = \fBwxWindow:wxWindow()\fR\& .br Id = integer() .br Pos = {X::integer(), Y::integer()} .br Size = {W::integer(), H::integer()} .br Choices = [\fBunicode:chardata()\fR\&] .br Option = {style, integer()} | {validator, \fBwx:wx_object()\fR\&} .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B deselect(This, N) -> ok .br .RS .LP Types: .RS 3 This = \fBwxListBox()\fR\& .br N = integer() .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B getSelections(This) -> Result .br .RS .LP Types: .RS 3 Result = {Res::integer(), ASelections::[integer()]} .br This = \fBwxListBox()\fR\& .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B insertItems(This, Items, Pos) -> ok .br .RS .LP Types: .RS 3 This = \fBwxListBox()\fR\& .br Items = [\fBunicode:chardata()\fR\&] .br Pos = integer() .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B isSelected(This, N) -> boolean() .br .RS .LP Types: .RS 3 This = \fBwxListBox()\fR\& .br N = integer() .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B set(This, Items) -> ok .br .RS .LP Types: .RS 3 This = \fBwxListBox()\fR\& .br Items = [\fBunicode:chardata()\fR\&] .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B hitTest(This, Point) -> integer() .br .RS .LP Types: .RS 3 This = \fBwxListBox()\fR\& .br Point = {X::integer(), Y::integer()} .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B setFirstItem(This, N) -> ok .br .RS .LP Types: .RS 3 This = \fBwxListBox()\fR\& .br N = integer() .br .RE .RE .RS .LP See external documentation\&. .br Also: .br setFirstItem(This, S) -> \&'ok\&' when .br This::wxListBox(), S::unicode:chardata()\&. .br .RE .LP .B destroy(This::\fBwxListBox()\fR\&) -> ok .br .RS .LP Destroys this object, do not use object again .RE .SH AUTHORS .LP .I <>