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

PtGenTreeExpand()

Expand a given subtree

Synopsis:

int PtGenTreeExpand( PtWidget_t *tree,
                     PtGenTreeItem_t *item,
                     PhEvent_t *event );

Description:

This function expands the given subtree item. The tree argument must point to the tree that contains the item or be NULL if the item doesn't belong to any tree.

If tree isn't NULL, the Tree Item State method of that widget is called. If it returns a value other than Pt_CONTINUE, the item isn't expanded and PtGenTreeExpand() returns the same value.

Returns:

The value returned by the Tree Item State method.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

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