back to gui 

wxListItem

generated from ../src/mod_gui/control/listitem.cpp

This class stores information about a wxListCtrl item or column.

Constants

Constructor

wxListItem

wxListItem(Index)
 
Name Type Default Description
Index Integer The index of the item

Creates a new wxListItem object. See getItem and setItem

Properties

Name Type Description
align Integer The column alignment. See wxListColumnFormat.
backgroundColour wxColour Get/Set the background colour of the item.
column Integer Get/Set the column.
data Integer Get/Set the associated data.
font wxFont Get/Set the font of the item.
hasAttributes read only Boolean Returns true when the item has attributes.
id Integer Get/Set index of the item.
image Integer Get/Set the index of the image in the associated imagelist of the list control.
mask Integer Get/Set the mask. The mask indicates which fields of wxListItem are valid. See wxListMask
state Integer Get/Set the state. See wxListState
stateMask Integer Get/Set the state mask. This indicates which state is valid. See wxListState
text String Get/Set the text of the item.
textColour wxColour Get/Set the text colour.
width Integer Get/Set the width.



Design downloaded from Zeroweb.org: Free website templates, layouts, and tools.