Collapse a subtree
int PtGenTreeCollapse( PtWidget_t *tree, PtGenTreeItem_t *item, PhEvent_t *event );
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.
The value returned by the Tree Item State method.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PhEvent_t in the Photon Library Reference