Erlang logo
User's Guide
Reference Manual
Release Notes
PDF
Top

wxErlang
Reference Manual
Version 0.98.10


Expand All
Contract All

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::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)}

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

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)}

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

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

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

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

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

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

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