| ![[Previous]](../image-lib/prev.gif) | ![[Contents]](../image-lib/contents.gif) | ![[Index]](../image-lib/keyword_index.gif) | ![[Next]](../image-lib/next.gif) | 
Change item resources
PtTreeItem_t *PtTreeModifyItem( PtWidget_t *tree, 
                                PtTreeItem_t *item, 
                                const char *string,
                                short sel_img, 
                                short unsel_img );
This function changes item resources.
|  | Don't use this function to modify an item that hasn't yet been added to the tree. | 
The new address of the item.
|  | This address may differ from the old one if the new string is longer. | 
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
PtTree, PtTreeAllocItem(), PtTreeItem_t, PtTreeItemIndex()
| ![[Previous]](../image-lib/prev.gif) | ![[Contents]](../image-lib/contents.gif) | ![[Index]](../image-lib/keyword_index.gif) | ![[Next]](../image-lib/next.gif) |