Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
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