![]()  | 
![]()  | 
![]()  | 
![]()  | 
Change item resources
PtTreeItem_t *PtTreeModifyItem( PtWidget_t *tree, 
                                PtTreeItem_t *item, 
                                const char *string,
                                short set_img, 
                                short unset_img );
This function changes item resources:
The tree is a pointer to the PtTree that the item belongs to, or NULL. If the item is in a tree, it must be in the one pointed to by 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(), PtTreeModifyItemString()
![]()  | 
![]()  | 
![]()  | 
![]()  |