wxlistbox(3) - Linux man page

Name

wxListBox - 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()

See external documentation.

new(Parent::wxWindow() (see module wxWindow), Id::integer()) -> wxListBox()

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

new(Parent::wxWindow() (see module wxWindow), Id::integer(), Options::[Option]) -> wxListBox()

Types:

Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {choices, [[string()]]} | {style, integer()} | {validator, wx() (see module wx)}

See external documentation.

create(This::wxListBox(), Parent::wxWindow() (see module wxWindow), Id::integer(), Pos::{X::integer(), Y::integer()}, Size::{W::integer(), H::integer()}, Choices::[[string()]]) -> bool()

Equivalent to create(This, Parent, Id, Pos, Size, Choices, []).

create(This::wxListBox(), Parent::wxWindow() (see module wxWindow), Id::integer(), Pos::{X::integer(), Y::integer()}, Size::{W::integer(), H::integer()}, Choices::[[string()]], Options::[Option]) -> bool()

Types:

Option = {style, integer()} | {validator, wx() (see module wx)}

See external documentation.

deselect(This::wxListBox(), N::integer()) -> ok

See external documentation.

getSelections(This::wxListBox()) -> {integer(), ASelections::[integer()]}

See external documentation.

insertItems(This::wxListBox(), Items::[[string()]], Pos::integer()) -> ok

See external documentation.

isSelected(This::wxListBox(), N::integer()) -> bool()

See external documentation.

set(This::wxListBox(), Items::[[string()]]) -> ok

See external documentation.

hitTest(This::wxListBox(), Point::{X::integer(), Y::integer()}) -> integer()

See external documentation.

setFirstItem(This::wxListBox(), X::integer() | string()) -> ok

See external documentation.
Alternatives:

setFirstItem(This::wxListBox(), N::integer()) -> ok

setFirstItem(This::wxListBox(), S::string()) -> ok

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

Destroys this object, do not use object again

Authors

<>