20202021 wxWidgets team. Licensed under the wxWindows Free Documentation Licence, Version 3 wxListItem
wxListItem Functions for wxListItem class

This class stores information about a wxListCtrl item or column.

wxListItem is a class which contains information about:

The wxListItem object can also contain item-specific colour and font information: for this you need to call one of setTextColour/2, setBackgroundColour/2 or setFont/2 functions on it passing it the colour/font to use. If the colour/font is not specified, the default list control colour/font is used.

See: wxListCtrl

wxWidgets docs: wxListItem

Constructor.

Constructor.

Resets the item state to the default.

Resets the item state to the default.

Returns the alignment for this item.

Returns the alignment for this item.

Can be one of wxLIST_FORMAT_LEFT, wxLIST_FORMAT_RIGHT or wxLIST_FORMAT_CENTRE.

Returns the background colour for this item.

Returns the background colour for this item.

Returns the zero-based column; meaningful only in report mode.

Returns the zero-based column; meaningful only in report mode.

Returns the font used to display the item.

Returns the font used to display the item.

Returns the zero-based item position.

Returns the zero-based item position.

Returns the zero-based index of the image associated with the item into the image list.

Returns the zero-based index of the image associated with the item into the image list.

Returns a bit mask indicating which fields of the structure are valid.

Returns a bit mask indicating which fields of the structure are valid.

Can be any combination of the following values:

Returns a bit field representing the state of the item.

Returns a bit field representing the state of the item.

Can be any combination of:

Returns the label/header text.

Returns the label/header text.

Returns the text colour.

Returns the text colour.

Meaningful only for column headers in report mode.

Meaningful only for column headers in report mode.

Returns the column width.

Sets the alignment for the item.

Sets the alignment for the item.

See also getAlign/1

Sets the background colour for the item.

Sets the background colour for the item.

Sets the zero-based column.

Sets the zero-based column.

Meaningful only in report mode.

Sets the font for the item.

Sets the font for the item.

Sets the zero-based item position.

Sets the zero-based item position.

Sets the zero-based index of the image associated with the item into the image list.

Sets the zero-based index of the image associated with the item into the image list.

Sets the mask of valid fields.

Sets the mask of valid fields.

See getMask/1.

Sets the item state flags (note that the valid state flags are influenced by the value of the state mask, see setStateMask/2).

Sets the item state flags (note that the valid state flags are influenced by the value of the state mask, see setStateMask/2).

See getState/1 for valid flag values.

Sets the bitmask that is used to determine which of the state flags are to be set.

Sets the bitmask that is used to determine which of the state flags are to be set.

See also setState/2.

Sets the text label for the item.

Sets the text label for the item.

Sets the text colour for the item.

Sets the text colour for the item.

Meaningful only for column headers in report mode.

Meaningful only for column headers in report mode.

Sets the column width.

Destructor

Destroys the object.