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

PtGenTreeAddFirst()

Add items in front of any existing items

Synopsis:

void PtGenTreeAddFirst( PtWidget_t *tree, 
                        PtGenTreeItem_t *item,
                        PtGenTreeItem_t *parent );

Description:

This function adds a list of trees linked with the brother field. The parent argument identifies the parent item for the added items. The new items are added in front of any existing children of the parent item.

The parent argument may also be NULL, in which case item is added at the root level of the tree before any existing items at the root level.

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

PtGenTreeAddFirst() automatically sets the Pt_TREE_ITEM_EXPANDABLE flag in the parent item.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

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