wxErlang

Reference Manual

Version 1.9.1

Table of Contents

wxListCtrl

Module

wxListCtrl

Module Summary

See external documentation: wxListCtrl.

Description

See external documentation: wxListCtrl.

This class is derived (and can use functions) from:
wxControl
wxWindow
wxEvtHandler

DATA TYPES

wxListCtrl()

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

Types

Types

Option = {winid, integer()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx:wx_object()} | {onGetItemText, function()} | {onGetItemAttr, function()} | {onGetItemColumnImage, function()}

Creates a listctrl with optional callback functions:

OnGetItemText = (This, Item, Column) -> unicode:charlist() OnGetItemAttr = (This, Item) -> wxListItemAttr:wxListItemAttr() OnGetItemColumnImage = (This, Item, Column) -> integer()

See external documentation.

Types

This = wxListCtrl()

Equivalent to arrange(This, []).

Types

This = wxListCtrl()
Option = {flag, integer()}

Types

This = wxListCtrl()
Which = integer()

Types

This = wxListCtrl()

Equivalent to create(This, Parent, []).

Types

Option = {winid, integer()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx:wx_object()} | {onGetItemText, function()} | {onGetItemAttr, function()} | {onGetItemColumnImage, function()}

Types

This = wxListCtrl()

Types

This = wxListCtrl()
Col = integer()

Types

This = wxListCtrl()
Item = integer()

Types

This = wxListCtrl()
Item = integer()

Types

This = wxListCtrl()
Item = integer()

Types

This = wxListCtrl()
Start = integer()

Types

This = wxListCtrl()
Start = integer()
Option = {partial, boolean()}

See external documentation.
Also:
findItem(This, Start, Pt, Direction) -> integer() when
This::wxListCtrl(), Start::integer(), Pt::{X::integer(), Y::integer()}, Direction::integer().

Types

This = wxListCtrl()
Col = integer()

Types

This = wxListCtrl()

Types

This = wxListCtrl()
Col = integer()

Types

This = wxListCtrl()

Types

This = wxListCtrl()

Types

This = wxListCtrl()
Which = integer()

Types

This = wxListCtrl()
Item = integer()

Types

This = wxListCtrl()

Types

This = wxListCtrl()
Item = integer()

Types

This = wxListCtrl()
Item = integer()

Types

Result = {Res::boolean(), Pos::{X::integer(), Y::integer()}}
This = wxListCtrl()
Item = integer()

Types

Result = {Res::boolean(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}}
This = wxListCtrl()
Item = integer()

Types

Result = {Res::boolean(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}}
This = wxListCtrl()
Item = integer()
Option = {code, integer()}

Types

This = wxListCtrl()

Types

This = wxListCtrl()
Item = integer()
StateMask = integer()

Types

This = wxListCtrl()
Item = integer()

Types

This = wxListCtrl()
Item = integer()

Types

This = wxListCtrl()
Item = integer()

Types

This = wxListCtrl()
Item = integer()
Option = {geometry, integer()} | {state, integer()}

Types

This = wxListCtrl()

Types

This = wxListCtrl()

Types

This = wxListCtrl()

Types

This = wxListCtrl()

Types

Result = {Res::integer(), Flags::integer(), PSubItem::integer()}
This = wxListCtrl()
Point = {X::integer(), Y::integer()}

Types

This = wxListCtrl()
Col = integer()
Heading = unicode:chardata()

See external documentation.
Also:
insertColumn(This, Col, Info) -> integer() when
This::wxListCtrl(), Col::integer(), Info::wxListItem:wxListItem().

Types

This = wxListCtrl()
Col = integer()
Heading = unicode:chardata()
Option = {format, integer()} | {width, integer()}

Types

This = wxListCtrl()
Index = integer()
ImageIndex = integer()

See external documentation.
Also:
insertItem(This, Index, Label) -> integer() when
This::wxListCtrl(), Index::integer(), Label::unicode:chardata().

Types

This = wxListCtrl()
Index = integer()
ImageIndex = integer()

Types

This = wxListCtrl()
Item = integer()

Types

This = wxListCtrl()
ItemFrom = integer()
ItemTo = integer()

Types

This = wxListCtrl()
Dx = integer()
Dy = integer()

Types

This = wxListCtrl()
Colour = wx:wx_colour()

Types

This = wxListCtrl()
Col = integer()

Types

This = wxListCtrl()
Col = integer()
Width = integer()

Types

This = wxListCtrl()
Which = integer()

Types

This = wxListCtrl()
Index = integer()
Col = integer()

Types

This = wxListCtrl()
Index = integer()
Col = integer()
Option = {imageId, integer()}

Types

This = wxListCtrl()
Item = integer()

Types

This = wxListCtrl()
Count = integer()

Types

This = wxListCtrl()
Item = integer()
Data = integer()

Types

This = wxListCtrl()
Item = integer()

Types

This = wxListCtrl()
Item = integer()
Image = integer()

Types

This = wxListCtrl()
Item = integer()
Image = integer()
Option = {selImage, integer()}

Types

This = wxListCtrl()
Item = integer()
Column = integer()
Image = integer()

Types

This = wxListCtrl()
Item = integer()
Pos = {X::integer(), Y::integer()}

Types

This = wxListCtrl()
Item = integer()
State = integer()
StateMask = integer()

Types

This = wxListCtrl()
Item = integer()

Types

This = wxListCtrl()
Item = integer()

Types

This = wxListCtrl()
Style = integer()

Types

This = wxListCtrl()
Style = integer()
Option = {add, boolean()}

Types

This = wxListCtrl()

Types

This = wxListCtrl()
Style = integer()

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.

Destroys this object, do not use object again