wxListBox.3erl

Langue: en

Autres versions - même langue

Version: 298812 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

wxListBox - See external documentation: wxListBox.

DESCRIPTION

See external documentation: wxListBox <http://www.wxwidgets.org/manuals/stable/wx_wxlistbox.html>.

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 <http://www.wxwidgets.org/manuals/stable/wx_wxlistbox.html#wxlistboxwxlistbox>.

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 <http://www.wxwidgets.org/manuals/stable/wx_wxlistbox.html#wxlistboxwxlistbox>.

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 <http://www.wxwidgets.org/manuals/stable/wx_wxlistbox.html#wxlistboxcreate>.

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


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxlistbox.html#wxlistboxdeselect>.

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


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxlistbox.html#wxlistboxgetselections>.

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


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxlistbox.html#wxlistboxinsertitems>.

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


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxlistbox.html#wxlistboxisselected>.

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


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxlistbox.html#wxlistboxset>.

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


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxlistbox.html#wxlistboxhittest>.

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


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxlistbox.html#wxlistboxsetfirstitem>.

 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