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. If you pass item as NULL, there will be no current item.
PtGenTreeGoto() can be called 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 |