[Previous] [Contents] [Index] [Next]

PtTreeModifyItem()

Change item resources

Synopsis:

PtTreeItem_t *PtTreeModifyItem( PtWidget_t *tree, 
                                PtTreeItem_t *item, 
                                const char *string,
                                short sel_img, 
                                short unsel_img );

Description:

This function changes item resources.


Note: Don't use this function to modify an item that hasn't yet been added to the tree.

Returns:

The new address of the item.


Note: This address may differ from the old one if the new string is longer.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtTree, PtTreeAllocItem(), PtTreeItem_t, PtTreeItemIndex()


[Previous] [Contents] [Index] [Next]