| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Index]](../keyword_index.gif) | ![[Next]](../next.gif) | 
|  | This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. | 
Return the first root item of the tree
PtTreeItem_t *PtTreeRootItem( 
                 PtTreeWidget_t const *tree );
This function returns a pointer to the first root item in the given PtTree widget.
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
PtTree, PtTreeAddAfter(), PtTreeAddFirst(), PtTreeAllItems(), PtTreeFreeAllItems(), PtTreeFreeItems(), PtTreeGetCurrent(), PtTreeGoto(), PtTreeItem_t, PtTreeSelect(), PtTreeShow()
| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Index]](../keyword_index.gif) | ![[Next]](../next.gif) |