Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Doc Error: PtTree: (2 Items)
   
Doc Error: PtTree  
The pages:
http://www.qnx.com/developers/docs/6.3.2/photon/widget_ref/pttree.html
http://www.qnx.com/developers/docs/6.4.0/photon/widget_ref/pttree.html

both contain an error in the example code for using images in columns. The code sets up arguments for 
Pt_ARG_TREE_COLUMN_ATTR, but the PtSetResource() call specifies Pt_ARG_LIST_COLUMN_ATTR.

To be clear, this section contains two calls to PtSetResource. The first correctly sets Pt_ARG_LIST_COLUMN_ATTR. The 
second should set Pt_ARG_TREE_COLUMN_ATTR, but instead sets Pt_ARG_LIST_COLUMN_ATTR again.
RE: Doc Error: PtTree  
I've created a doc PR for this. Thanks for pointing out the error.

Steve Reid (stever@qnx.com)
Technical Editor
QNX Software Systems