PyCListBox.SetItemData

int = SetItemData(item, Data )

Sets the item's application-specific object value.

Parameters

item : int

Index of the item whose Data is to be set.

Data : object

New value for the data.

Comments

Note that a reference count is not added to the object. This it is your responsibility to make sure the object remains alive while in the list.