Set the current item
int PtTreeGoto( PtWidget_t *list, PtTreeItem_t *item );
This function sets the current item and (if necessary) the current position so that the new current item is visible (see “Current item” in the description of PtGenList).
If you pass item as NULL, there will be no current item.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PtTree, PtTreeClearSelection(), PtTreeGetCurrent(), PtTreeGoto(), PtTreeItem_t, PtTreeRootItem(), PtTreeSelect(), PtTreeSelectedItems(), PtTreeSetSelIndexes(), PtTreeShow(), PtTreeUnselect(), PtTreeUnselectNonBrothers()