PyCTreeCtrl.SetItemData

int = SetItemData(item, Data )

Sets the item's application-specific value.

Parameters

item : HTREEITEM

The item whose Data is to be set.

Data : int

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.