Set the position so that the specified item is visible
int PtTreeShow( PtWidget_t *widget, PtTreeItem_t *item );
This function sets the current position so that the given item is visible. If you pass item as NULL, the function does nothing. This allows you to do something like this:
PtTreeShow( widget, PtTreeGetCurrent(widget) );
without checking whether PtTreeGetCurrent() returned a NULL value.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PtTree, PtTreeClearSelection(), PtTreeCollapse(), PtTreeExpand(), PtTreeGetCurrent(), PtTreeGetSelIndexes(), PtTreeGoto(), PtTreeItem_t, PtTreeRootItem(), PtTreeSelect()