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/pttreeaddafter.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/pttreeaddafter.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/pttreeaddafter.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/pttreeaddafter.html on line 8
Insert an item after the specified item
int PtTreeAddAfter( PtWidget_t *tree,
PtTreeItem_t *item,
PtTreeItem_t *brother );
This function inserts a list of trees linked with the
brother member of the
PtTreeItem_t
structure.
PtTreeAddAfter() assumes that
item points to a list of trees. The tree
variable points to a PtTree widget. The new
items are added to the specified tree below
the specified brother:
The results of using PtTreeAddAfter().
You can call this function with a NULL
tree argument, as
long as brother points to an item that isn't attached to
any tree widget.
- 0
- Success.
- -1
- The item is already in a widget.
See
“Allocating items and building a tree”
in the description of
PtTree.
Photon
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
PtTree,
PtTreeAddFirst(),
PtTreeAllocItem(),
PtTreeFreeAllItems(),
PtTreeFreeItems(),
PtTreeItem_t
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/pttreeaddafter.html on line 132
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/pttreeaddafter.html on line 132