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

PtTreeCollapse()

Collapse an expandable item

Synopsis:

void PtTreeCollapse( PtWidget_t *tree, 
                     PtTreeItem_t *item,
                     PhEvent_t *event );

Description:

This function collapses 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 != NULL, the Pt_CB_TREE_STATE callback will be invoked. The event argument is the event that will be passed to the callback.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtTree, PtTreeExpand(), PtTreeGetCurrent(), PtTreeGoto(), PtTreeItem_t, PtTreeShow()


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