wxListItem
Module
Module Summary
Description
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
new() -> wxListItem()
|
Constructor.
new(Item) -> wxListItem()
|
Types
Types
Resets the item state to the default.
getAlign(This) -> wx:wx_enum()
|
Types
Returns the alignment for this item.
Can be one of wxLIST_FORMAT_LEFT, wxLIST_FORMAT_RIGHT or wxLIST_FORMAT_CENTRE.
getBackgroundColour(This) -> wx:wx_colour4()
|
Types
Returns the background colour for this item.
Types
Returns the zero-based column; meaningful only in report mode.
getFont(This) -> wxFont:wxFont()
|
Types
Returns the font used to display the item.
Types
Returns the zero-based item position.
Types
Returns the zero-based index of the image associated with the item into the image list.
Types
Returns a bit mask indicating which fields of the structure are valid.
Can be any combination of the following values:
Types
Returns a bit field representing the state of the item.
Can be any combination of:
getText(This) -> unicode:charlist()
|
Types
Returns the label/header text.
getTextColour(This) -> wx:wx_colour4()
|
Types
Returns the text colour.
Types
Meaningful only for column headers in report mode.
Returns the column width.
Sets the alignment for the item.
See also getAlign/1
Sets the background colour for the item.
Sets the zero-based column.
Meaningful only in report mode.
Sets the font for the item.
Sets the zero-based item position.
Sets the zero-based index of the image associated with the item into the image list.
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).
See getState/1 for valid flag values.
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 colour for the item.
Meaningful only for column headers in report mode.
Sets the column width.
destroy(This :: wxListItem()) -> ok |
Destroys the object.