wxErlang

Reference Manual

Version 1.8.1

Table of Contents

wxListBox

Module

wxListBox

Module Summary

See external documentation: wxListBox.

Description

See external documentation: wxListBox.

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

DATA TYPES

wxListBox()

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.

Exports

new() -> wxListBox()

new(Parent, Id) -> wxListBox()

Types

Id = integer()

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

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

Types

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

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

Types

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

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

Types

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

deselect(This, N) -> ok

Types

This = wxListBox()
N = integer()

getSelections(This) -> Result

Types

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

insertItems(This, Items, Pos) -> ok

Types

This = wxListBox()
Items = [unicode:chardata()]
Pos = integer()

isSelected(This, N) -> boolean()

Types

This = wxListBox()
N = integer()

set(This, Items) -> ok

Types

This = wxListBox()
Items = [unicode:chardata()]

hitTest(This, Point) -> integer()

Types

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

setFirstItem(This, N) -> ok

Types

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