.TH wxListBox 3erl "wx 0.99.2" "" "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 \fIwxListBox()\fR\&: .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() -> wxListBox() .br .RS .LP See external documentation\&. .RE .LP .B new(Parent, Id) -> wxListBox() .br .RS .LP Types: .RS 3 Parent = wxWindow() (see module wxWindow) .br Id = integer() .br .RE .RE .RS .LP Equivalent to \fBnew(Parent, Id, [])\fR\&\&. .RE .LP .B new(Parent, Id, Option::[Option]) -> wxListBox() .br .RS .LP Types: .RS 3 Parent = wxWindow() (see module wxWindow) .br Id = integer() .br Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {choices, [chardata() (see module unicode)]} | {style, integer()} | {validator, wx_object() (see module wx)} .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 = wxListBox() .br Parent = wxWindow() (see module wxWindow) .br Id = integer() .br Pos = {X::integer(), Y::integer()} .br Size = {W::integer(), H::integer()} .br Choices = [chardata() (see module unicode)] .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, Option::[Option]) -> boolean() .br .RS .LP Types: .RS 3 This = wxListBox() .br Parent = wxWindow() (see module wxWindow) .br Id = integer() .br Pos = {X::integer(), Y::integer()} .br Size = {W::integer(), H::integer()} .br Choices = [chardata() (see module unicode)] .br Option = {style, integer()} | {validator, wx_object() (see module wx)} .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B deselect(This, N) -> ok .br .RS .LP Types: .RS 3 This = wxListBox() .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 = wxListBox() .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B insertItems(This, Items, Pos) -> ok .br .RS .LP Types: .RS 3 This = wxListBox() .br Items = [chardata() (see module unicode)] .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 = wxListBox() .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 = wxListBox() .br Items = [chardata() (see module unicode)] .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B hitTest(This, Point) -> integer() .br .RS .LP Types: .RS 3 This = wxListBox() .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 = wxListBox() .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::wxListBox()) -> ok .br .RS .LP Destroys this object, do not use object again .RE .SH AUTHORS .LP .I <>