Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
PtTreeShow()
Set the position so that the specified item is visible
Synopsis:
int PtTreeShow( PtWidget_t *widget,
PtTreeItem_t *item );
Description:
This function sets the current position so that the given item is visible. If you pass item as NULL, the function does nothing. This lets you do something like this:
PtTreeShow( widget, PtTreeGetCurrent(widget) );
without checking to see if PtTreeGetCurrent() returned NULL.
Returns:
- 0
- Success.
- Nonzero
- item belongs to a collapsed subtree, and a callback function prevented the subtree from being expanded
Classification:
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
See also:
PtTree, PtTreeClearSelection(), PtTreeCollapse(), PtTreeExpand(), PtTreeGetCurrent(), PtTreeGetSelIndexes(), PtTreeGoto(), PtTreeItem_t, PtTreeRootItem(), PtTreeSelect()
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)