wxListCtrl
See external documentation: wxListCtrl.
See external documentation:
This class is derived (and can use functions) from:
wxControl
wxWindow
wxEvtHandler
Functions
new() -> wxListCtrl()
See
new(Parent::wxWindow() (see module wxWindow)) -> wxListCtrl()
Equivalent to new(Parent, []).
new(Parent::wxWindow() (see module wxWindow), Options::[Option]) -> wxListCtrl()
Option = {winid, integer()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx() (see module wx)} | {onGetItemText, OnGetItemText} | {onGetItemAttr, OnGetItemAttr} | {onGetItemColumnImage, OnGetItemColumnImage}
OnGetItemText = (This, Item, Column) -> wxString()
OnGetItemAttr = (This, Item) -> wxListItemAttr()
OnGetItemColumnImage = (This, Item, Column) -> integer()
See
arrange(This, Option::[Option]) -> boolean()
This = wxListCtrl()
Option = {flag, integer()}
See
assignImageList(This, ImageList, Which) -> ok
This = wxListCtrl()
ImageList = wxImageList() (see module wxImageList)
Which = integer()
See
clearAll(This) -> ok
This = wxListCtrl()
See
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()
Option = {winid, integer()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx() (see module wx)} | {onGetItemText, OnGetItemText} | {onGetItemAttr, OnGetItemAttr} | {onGetItemColumnImage, OnGetItemColumnImage}
OnGetItemText = (This, Item, Column) -> wxString()
OnGetItemAttr = (This, Item) -> wxListItemAttr()
OnGetItemColumnImage = (This, Item, Column) -> integer()
See
deleteAllItems(This) -> boolean()
This = wxListCtrl()
See
deleteColumn(This, Col) -> boolean()
This = wxListCtrl()
Col = integer()
See
deleteItem(This, Item) -> boolean()
This = wxListCtrl()
Item = integer()
See
editLabel(This, Item) -> wxTextCtrl() (see module wxTextCtrl)
This = wxListCtrl()
Item = integer()
See
ensureVisible(This, Item) -> boolean()
This = wxListCtrl()
Item = integer()
See
findItem(This, Start, Str) -> integer()
This = wxListCtrl()
Start = integer()
Str = chardata() (see module unicode)
Equivalent to findItem(This, Start, Str, []).
findItem(This, Start, Str, Option::[Option]) -> integer()
This = wxListCtrl()
Start = integer()
Str = chardata() (see module unicode)
Option = {partial, boolean()}
See
Also:
findItem(This, Start, Pt, Direction) -> integer() when
This::wxListCtrl(), Start::integer(), Pt::{X::integer(), Y::integer()}, Direction::integer().
getColumn(This, Col, Item) -> boolean()
This = wxListCtrl()
Col = integer()
Item = wxListItem() (see module wxListItem)
See
getColumnCount(This) -> integer()
This = wxListCtrl()
See
getColumnWidth(This, Col) -> integer()
This = wxListCtrl()
Col = integer()
See
getCountPerPage(This) -> integer()
This = wxListCtrl()
See
getEditControl(This) -> wxTextCtrl() (see module wxTextCtrl)
This = wxListCtrl()
See
getImageList(This, Which) -> wxImageList() (see module wxImageList)
This = wxListCtrl()
Which = integer()
See
getItem(This, Info) -> boolean()
This = wxListCtrl()
Info = wxListItem() (see module wxListItem)
See
getItemBackgroundColour(This, Item) -> wx_colour4() (see module wx)
This = wxListCtrl()
Item = integer()
See
getItemCount(This) -> integer()
This = wxListCtrl()
See
getItemData(This, Item) -> integer()
This = wxListCtrl()
Item = integer()
See
getItemFont(This, Item) -> wxFont() (see module wxFont)
This = wxListCtrl()
Item = integer()
See
getItemPosition(This, Item) -> Result
Result = {Res::boolean(), Pos::{X::integer(), Y::integer()}}
This = wxListCtrl()
Item = integer()
See
getItemRect(This, Item) -> Result
Result = {Res::boolean(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}}
This = wxListCtrl()
Item = integer()
Equivalent to getItemRect(This, Item, []).
getItemRect(This, Item, Option::[Option]) -> Result
Result = {Res::boolean(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}}
This = wxListCtrl()
Item = integer()
Option = {code, integer()}
See
getItemSpacing(This) -> {W::integer(), H::integer()}
This = wxListCtrl()
See
getItemState(This, Item, StateMask) -> integer()
This = wxListCtrl()
Item = integer()
StateMask = integer()
See
getItemText(This, Item) -> charlist() (see module unicode)
This = wxListCtrl()
Item = integer()
See
getItemTextColour(This, Item) -> wx_colour4() (see module wx)
This = wxListCtrl()
Item = integer()
See
getNextItem(This, Item) -> integer()
This = wxListCtrl()
Item = integer()
Equivalent to getNextItem(This, Item, []).
getNextItem(This, Item, Option::[Option]) -> integer()
This = wxListCtrl()
Item = integer()
Option = {geometry, integer()} | {state, integer()}
See
getSelectedItemCount(This) -> integer()
This = wxListCtrl()
See
getTextColour(This) -> wx_colour4() (see module wx)
This = wxListCtrl()
See
getTopItem(This) -> integer()
This = wxListCtrl()
See
getViewRect(This) -> {X::integer(), Y::integer(), W::integer(), H::integer()}
This = wxListCtrl()
See
hitTest(This, Point, Flags) -> integer()
This = wxListCtrl()
Point = {X::integer(), Y::integer()}
Flags = integer()
See
insertColumn(This, Col, Heading) -> integer()
This = wxListCtrl()
Col = integer()
Heading = chardata() (see module unicode)
See
Also:
insertColumn(This, Col, Info) -> integer() when
This::wxListCtrl(), Col::integer(), Info::wxListItem:wxListItem().
insertColumn(This, Col, Heading, Option::[Option]) -> integer()
This = wxListCtrl()
Col = integer()
Heading = chardata() (see module unicode)
Option = {format, integer()} | {width, integer()}
See
insertItem(This, Info) -> integer()
This = wxListCtrl()
Info = wxListItem() (see module wxListItem)
See
insertItem(This, Index, ImageIndex) -> integer()
This = wxListCtrl()
Index = integer()
ImageIndex = integer()
See
Also:
insertItem(This, Index, Label) -> integer() when
This::wxListCtrl(), Index::integer(), Label::unicode:chardata().
insertItem(This, Index, Label, ImageIndex) -> integer()
This = wxListCtrl()
Index = integer()
Label = chardata() (see module unicode)
ImageIndex = integer()
See
refreshItem(This, Item) -> ok
This = wxListCtrl()
Item = integer()
See
refreshItems(This, ItemFrom, ItemTo) -> ok
This = wxListCtrl()
ItemFrom = integer()
ItemTo = integer()
See
scrollList(This, Dx, Dy) -> boolean()
This = wxListCtrl()
Dx = integer()
Dy = integer()
See
setBackgroundColour(This, Colour) -> boolean()
This = wxListCtrl()
Colour = wx_colour() (see module wx)
See
setColumn(This, Col, Item) -> boolean()
This = wxListCtrl()
Col = integer()
Item = wxListItem() (see module wxListItem)
See
setColumnWidth(This, Col, Width) -> boolean()
This = wxListCtrl()
Col = integer()
Width = integer()
See
setImageList(This, ImageList, Which) -> ok
This = wxListCtrl()
ImageList = wxImageList() (see module wxImageList)
Which = integer()
See
setItem(This, Info) -> boolean()
This = wxListCtrl()
Info = wxListItem() (see module wxListItem)
See
setItem(This, Index, Col, Label) -> integer()
This = wxListCtrl()
Index = integer()
Col = integer()
Label = chardata() (see module unicode)
Equivalent to setItem(This, Index, Col, Label, []).
setItem(This, Index, Col, Label, Option::[Option]) -> integer()
This = wxListCtrl()
Index = integer()
Col = integer()
Label = chardata() (see module unicode)
Option = {imageId, integer()}
See
setItemBackgroundColour(This, Item, Col) -> ok
This = wxListCtrl()
Item = integer()
Col = wx_colour() (see module wx)
See
setItemCount(This, Count) -> ok
This = wxListCtrl()
Count = integer()
See
setItemData(This, Item, Data) -> boolean()
This = wxListCtrl()
Item = integer()
Data = integer()
See
setItemFont(This, Item, F) -> ok
This = wxListCtrl()
Item = integer()
F = wxFont() (see module wxFont)
See
setItemImage(This, Item, Image) -> boolean()
This = wxListCtrl()
Item = integer()
Image = integer()
Equivalent to setItemImage(This, Item, Image, []).
setItemImage(This, Item, Image, Option::[Option]) -> boolean()
This = wxListCtrl()
Item = integer()
Image = integer()
Option = {selImage, integer()}
See
setItemColumnImage(This, Item, Column, Image) -> boolean()
This = wxListCtrl()
Item = integer()
Column = integer()
Image = integer()
See
setItemPosition(This, Item, Pos) -> boolean()
This = wxListCtrl()
Item = integer()
Pos = {X::integer(), Y::integer()}
See
setItemState(This, Item, State, StateMask) -> boolean()
This = wxListCtrl()
Item = integer()
State = integer()
StateMask = integer()
See
setItemText(This, Item, Str) -> ok
This = wxListCtrl()
Item = integer()
Str = chardata() (see module unicode)
See
setItemTextColour(This, Item, Col) -> ok
This = wxListCtrl()
Item = integer()
Col = wx_colour() (see module wx)
See
setSingleStyle(This, Style) -> ok
This = wxListCtrl()
Style = integer()
Equivalent to setSingleStyle(This, Style, []).
setSingleStyle(This, Style, Option::[Option]) -> ok
This = wxListCtrl()
Style = integer()
Option = {add, boolean()}
See
setTextColour(This, Col) -> ok
This = wxListCtrl()
Col = wx_colour() (see module wx)
See
setWindowStyleFlag(This, Style) -> ok
This = wxListCtrl()
Style = integer()
See
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
Destroys this object, do not use object again