Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/widget_ref/pt/pttreemodifyitemstring.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/widget_ref/pt/pttreemodifyitemstring.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/widget_ref/pt/pttreemodifyitemstring.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/widget_ref/pt/pttreemodifyitemstring.html on line 8

PtTreeModifyItemString()

Change the string for a PtTree item

Synopsis:

PtTreeItem_t *PtTreeModifyItemString(
                  PtWidget_t *tree, 
                  PtTreeItem_t *item, 
                  const char *string );

Description:

This function changes the string for the given item, making a copy of string. The tree is a pointer to the PtTree that the item is in, or NULL. If the item is in a tree, it must be in the one pointed to by 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(), PtTreeModifyItem()


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/widget_ref/pt/pttreemodifyitemstring.html on line 100

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/widget_ref/pt/pttreemodifyitemstring.html on line 100