Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Is the any human-readable explanation of Pt_ARG_PG_PANEL_TITLES?: (2 Items)
   
Is the any human-readable explanation of Pt_ARG_PG_PANEL_TITLES?  
Dear Sirs,

Sometimes, reading your documentation I stay nothing but stunned: here we go with PtPanelGroup and 
Pt_ARG_PG_PANEL_TITLES. [url=http://www.qnx.com/developers/docs/6.4.0/photon/widget_ref/ptpanelgroup.html#
Pt_ARG_PG_PANEL_TITLES]The text[/url]:

"An array of strings that represent the titles for the panels managed by this PtPanelGroup."

and the argument types:

"char *, unsigned short"

Well... When have "char *" became "an array of strings"?!

As a result -- SIGSEGV at all my attempts. I wish I could read your minds...
Re: Is the any human-readable explanation of Pt_ARG_PG_PANEL_TITLES?  
It is an array of char *, so you should pass a char ** as the argument. The len is the number of elements in the array.