Middleware, development tools, realtime operating system
software and services for superior embedded design


Home
QNX Community Resources
QNX Documentation Library
PtGenTreeCollapse

PtGenTreeCollapse

QNX Software Systems
Developer Resources
Blogs
Board support packages
Foundry27 projects
Forums
Hardware support listing
Online video tutorials
Product documentation
Technical Articles

PtGenTreeCollapse()

Collapse a subtree

Synopsis:

int PtGenTreeCollapse( PtWidget_t *tree, 
                       PtGenTreeItem_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 can be NULL if the item doesn't belong to any tree.

If the item belongs to the tree widget, the widget's Tree Item State method is called.

Returns:

The value returned by the Tree Item State method.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtGenTree, PtGenTreeItem_t

PhEvent_t in the Photon Library Reference