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() -> wxListCtrl()
new(Parent) -> wxListCtrl()
Types:
new(Parent, Options::[Option]) -> wxListCtrl()
Types:
Creates a listctrl with optional callback functions:
OnGetItemText = (This, Item, Column) -> unicode:charlist() OnGetItemAttr = (This, Item) -> wxListItemAttr:wxListItemAttr() OnGetItemColumnImage = (This, Item, Column) -> integer()
Types:
Equivalent to arrange(This, []).
arrange(This, Options::[Option]) -> boolean()
assignImageList(This, ImageList, Which) -> ok
Types:
create(This, Parent) -> wxListCtrl()
Equivalent to create(This, Parent, []).
create(This, Parent, Options::[Option]) -> wxListCtrl()
Types:
deleteAllItems(This) -> boolean()
Types:
deleteColumn(This, Col) -> boolean()
deleteItem(This, Item) -> boolean()
editLabel(This, Item) -> wxTextCtrl:wxTextCtrl()
ensureVisible(This, Item) -> boolean()
findItem(This, Start, Str) -> integer()
Equivalent to findItem(This, Start, Str, []).
findItem(This, Start, Str, Options::[Option]) -> integer()
See external documentation.
Also:
findItem(This, Start, Pt, Direction) -> integer() when
This::wxListCtrl(), Start::integer(), Pt::{X::integer(), Y::integer()}, Direction::integer().
getColumn(This, Col, Item) -> boolean()
getColumnCount(This) -> integer()
Types:
getColumnWidth(This, Col) -> integer()
getCountPerPage(This) -> integer()
Types:
getEditControl(This) -> wxTextCtrl:wxTextCtrl()
Types:
getImageList(This, Which) -> wxImageList:wxImageList()
getItem(This, Info) -> boolean()
getItemBackgroundColour(This, Item) -> wx:wx_colour4()
getItemCount(This) -> integer()
Types:
getItemData(This, Item) -> integer()
getItemFont(This, Item) -> wxFont:wxFont()
getItemPosition(This, Item) -> Result
Types:
getItemRect(This, Item) -> Result
Types:
Equivalent to getItemRect(This, Item, []).
getItemRect(This, Item, Options::[Option]) -> Result
Types:
getItemSpacing(This) -> {W::integer(), H::integer()}
Types:
getItemState(This, Item, StateMask) -> integer()
getItemText(This, Item) -> unicode:charlist()
getItemTextColour(This, Item) -> wx:wx_colour4()
getNextItem(This, Item) -> integer()
Equivalent to getNextItem(This, Item, []).
getNextItem(This, Item, Options::[Option]) -> integer()
getSelectedItemCount(This) -> integer()
Types:
getTextColour(This) -> wx:wx_colour4()
Types:
Types:
getViewRect(This) -> {X::integer(), Y::integer(), W::integer(), H::integer()}
Types:
hitTest(This, Point) -> Result
Types:
insertColumn(This, Col, Heading) -> integer()
See external documentation.
Also:
insertColumn(This, Col, Info) -> integer() when
This::wxListCtrl(), Col::integer(), Info::wxListItem:wxListItem().
insertColumn(This, Col, Heading, Options::[Option]) -> integer()
Types:
insertItem(This, Info) -> integer()
insertItem(This, Index, ImageIndex) -> integer()
See external documentation.
Also:
insertItem(This, Index, Label) -> integer() when
This::wxListCtrl(), Index::integer(), Label::unicode:chardata().
insertItem(This, Index, Label, ImageIndex) -> integer()
refreshItems(This, ItemFrom, ItemTo) -> ok
scrollList(This, Dx, Dy) -> boolean()
setBackgroundColour(This, Colour) -> boolean()
setColumn(This, Col, Item) -> boolean()
setColumnWidth(This, Col, Width) -> boolean()
setImageList(This, ImageList, Which) -> ok
setItem(This, Info) -> boolean()
setItem(This, Index, Col, Label) -> integer()
Equivalent to setItem(This, Index, Col, Label, []).
setItem(This, Index, Col, Label, Options::[Option]) -> integer()
Types:
setItemBackgroundColour(This, Item, Col) -> ok
setItemCount(This, Count) -> ok
setItemData(This, Item, Data) -> boolean()
setItemFont(This, Item, F) -> ok
setItemImage(This, Item, Image) -> boolean()
Equivalent to setItemImage(This, Item, Image, []).
setItemImage(This, Item, Image, Options::[Option]) -> boolean()
setItemColumnImage(This, Item, Column, Image) -> boolean()
setItemPosition(This, Item, Pos) -> boolean()
setItemState(This, Item, State, StateMask) -> boolean()
setItemText(This, Item, Str) -> ok
setItemTextColour(This, Item, Col) -> ok
setSingleStyle(This, Style) -> ok
Equivalent to setSingleStyle(This, Style, []).
setSingleStyle(This, Style, Options::[Option]) -> ok
setTextColour(This, Col) -> ok
setWindowStyleFlag(This, Style) -> ok
sortItems(This::wxListCtrl(), SortCallBack::function()) -> boolean()
Sort the items in the list control
SortCallBack(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 (wx) processes.
destroy(This::wxListCtrl()) -> ok