Set the current item and position so that a given item is visible
int PtGenTreeGoto( PtWidget_t *tree, PtGenTreeItem_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 item is NULL, there's no current item.
You can call PtGenTreeGoto() with an item whose ancestor is collapsed, in which case the ancestor is expanded.
The value returned by the Tree Item State method.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |