wxListCtrl
MODULE
MODULE SUMMARY
DESCRIPTION
See external documentation: wxListCtrl.
This class is derived (and can use functions) from:
wxControl
wxWindow
wxEvtHandler
DATA TYPES
EXPORTS
new(Parent::wxWindow() (see module wxWindow)) -> wxListCtrl()
Equivalent to new(Parent, []).
new(Parent::wxWindow() (see module wxWindow), Options::[Option]) -> wxListCtrl()
Types:
arrange(This::wxListCtrl()) -> bool()
Equivalent to arrange(This, []).
arrange(This::wxListCtrl(), Options::[Option]) -> bool()
Types:
clearAll(This::wxListCtrl()) -> ok
create(This::wxListCtrl(), Parent::wxWindow() (see module wxWindow)) -> bool()
Equivalent to create(This, Parent, []).
create(This::wxListCtrl(), Parent::wxWindow() (see module wxWindow), Options::[Option]) -> bool()
Types:
deleteAllItems(This::wxListCtrl()) -> bool()
deleteColumn(This::wxListCtrl(), Col::integer()) -> bool()
deleteItem(This::wxListCtrl(), Item::integer()) -> bool()
editLabel(This::wxListCtrl(), Item::integer()) -> wxTextCtrl() (see module wxTextCtrl)
ensureVisible(This::wxListCtrl(), Item::integer()) -> bool()
findItem(This::wxListCtrl(), Start::integer(), Str::string()) -> integer()
Equivalent to findItem(This, Start, Str, []).
See external documentation.
Alternatives:
findItem(This::wxListCtrl(), Start::integer(), Str::string(), [Option]) -> integer()
Option = {partial, bool()}
findItem(This::wxListCtrl(), Start::integer(), Pt::{X::integer(),Y::integer()}, Direction::integer()) -> integer()
getColumn(This::wxListCtrl(), Col::integer(), Item::wxListItem() (see module wxListItem)) -> bool()
getColumnCount(This::wxListCtrl()) -> integer()
getColumnWidth(This::wxListCtrl(), Col::integer()) -> integer()
getCountPerPage(This::wxListCtrl()) -> integer()
getEditControl(This::wxListCtrl()) -> wxTextCtrl() (see module wxTextCtrl)
getImageList(This::wxListCtrl(), Which::integer()) -> wxImageList() (see module wxImageList)
getItem(This::wxListCtrl(), Info::wxListItem() (see module wxListItem)) -> bool()
getItemBackgroundColour(This::wxListCtrl(), Item::integer()) -> colour() (see module wx)
getItemCount(This::wxListCtrl()) -> integer()
getItemData(This::wxListCtrl(), Item::integer()) -> integer()
getItemFont(This::wxListCtrl(), Item::integer()) -> wxFont() (see module wxFont)
getItemPosition(This::wxListCtrl(), Item::integer(), Pos::{X::integer(), Y::integer()}) -> bool()
Equivalent to getItemRect(This, Item, Rect, []).
Types:
getItemSpacing(This::wxListCtrl()) -> {W::integer(), H::integer()}
getItemState(This::wxListCtrl(), Item::integer(), StateMask::integer()) -> integer()
getItemText(This::wxListCtrl(), Item::integer()) -> string()
getItemTextColour(This::wxListCtrl(), Item::integer()) -> colour() (see module wx)
getNextItem(This::wxListCtrl(), Item::integer()) -> integer()
Equivalent to getNextItem(This, Item, []).
getNextItem(This::wxListCtrl(), Item::integer(), Options::[Option]) -> integer()
Types:
getSelectedItemCount(This::wxListCtrl()) -> integer()
getTextColour(This::wxListCtrl()) -> colour() (see module wx)
getTopItem(This::wxListCtrl()) -> integer()
getViewRect(This::wxListCtrl()) -> {X::integer(), Y::integer(), W::integer(), H::integer()}
hitTest(This::wxListCtrl(), Point::{X::integer(), Y::integer()}) -> {integer(), Flags::integer()}
insertColumn(This::wxListCtrl(), Col::integer(), X::string() | term()) -> integer()
See external documentation.
Alternatives:
insertColumn(This::wxListCtrl(), Col::integer(), Heading::string()) -> insertColumn(This,Col,Heading, [])
insertColumn(This::wxListCtrl(), Col::integer(), Info::wxListItem:wxListItem()) -> integer()
insertColumn(This::wxListCtrl(), Col::integer(), Heading::string(), Options::[Option]) -> integer()
Types:
insertItem(This::wxListCtrl(), Info::wxListItem() (see module wxListItem)) -> integer()
insertItem(This::wxListCtrl(), Index::integer(), X::integer() | string()) -> integer()
See external documentation.
Alternatives:
insertItem(This::wxListCtrl(), Index::integer(), ImageIndex::integer()) -> integer()
insertItem(This::wxListCtrl(), Index::integer(), Label::string()) -> integer()
refreshItem(This::wxListCtrl(), Item::integer()) -> ok
refreshItems(This::wxListCtrl(), ItemFrom::integer(), ItemTo::integer()) -> ok
scrollList(This::wxListCtrl(), Dx::integer(), Dy::integer()) -> bool()
setBackgroundColour(This::wxListCtrl(), Colour::colour() (see module wx)) -> bool()
setColumn(This::wxListCtrl(), Col::integer(), Item::wxListItem() (see module wxListItem)) -> bool()
setColumnWidth(This::wxListCtrl(), Col::integer(), Width::integer()) -> bool()
setItem(This::wxListCtrl(), Info::wxListItem() (see module wxListItem)) -> bool()
setItem(This::wxListCtrl(), Index::integer(), Col::integer(), Label::string()) -> integer()
Equivalent to setItem(This, Index, Col, Label, []).
Types:
setItemBackgroundColour(This::wxListCtrl(), Item::integer(), Col::colour() (see module wx)) -> ok
setItemCount(This::wxListCtrl(), Count::integer()) -> ok
setItemData(This::wxListCtrl(), Item::integer(), Data::integer()) -> bool()
setItemFont(This::wxListCtrl(), Item::integer(), F::wxFont() (see module wxFont)) -> ok
setItemImage(This::wxListCtrl(), Item::integer(), Image::integer()) -> bool()
Equivalent to setItemImage(This, Item, Image, []).
setItemImage(This::wxListCtrl(), Item::integer(), Image::integer(), Options::[Option]) -> bool()
Types:
setItemPosition(This::wxListCtrl(), Item::integer(), Pos::{X::integer(), Y::integer()}) -> bool()
setItemState(This::wxListCtrl(), Item::integer(), State::integer(), StateMask::integer()) -> bool()
setItemText(This::wxListCtrl(), Item::integer(), Str::string()) -> ok
setItemTextColour(This::wxListCtrl(), Item::integer(), Col::colour() (see module wx)) -> ok
setSingleStyle(This::wxListCtrl(), Style::integer()) -> ok
Equivalent to setSingleStyle(This, Style, []).
setSingleStyle(This::wxListCtrl(), Style::integer(), Options::[Option]) -> ok
Types:
setTextColour(This::wxListCtrl(), Col::colour() (see module wx)) -> ok
setWindowStyleFlag(This::wxListCtrl(), Style::integer()) -> ok
sortItems(This::wxListCtrl(), SortCallBack::function()) -> boolean()
Sort the items in the list control
SortCalBack(Item1,Item2) -> integer()
SortCallBack receives the client data associated with two items
to compare, and should return 0 if the items are equal, a negative
value if the first item is less than the second one and a positive
value if the first item is greater than the second one.
NOTE: The callback may not call other processes.