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/ptgentreeaddafter.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/ptgentreeaddafter.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/ptgentreeaddafter.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/ptgentreeaddafter.html on line 8

PtGenTreeAddAfter()

Add items after a given item

Synopsis:

int PtGenTreeAddAfter( PtWidget_t *tree,
                       PtGenTreeItem_t *items,
                       PtGenTreeItem_t *brother );

Description:

This function inserts a list of trees linked with the brother field. PtGenTreeAddAfter() assumes that items points to a list of trees. The tree variable points to a PtGenTree widget. The new items are added to the specified tree below the specified brother.

This function may be called with a NULL tree argument, as long as brother points to an item that isn't attached to any tree widget.

Returns:

0
Success.
-1
The item is already in a widget.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtGenTree, PtGenTreeItem_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/ptgentreeaddafter.html on line 102

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/ptgentreeaddafter.html on line 102