Collapse an expandable item
void PtTreeCollapse( PtWidget_t *tree, PtTreeItem_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 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.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PtTree, PtTreeExpand(), PtTreeGetCurrent(), PtTreeGoto(), PtTreeItem_t, PtTreeShow()