Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/widget_ref/pt/pttreegetselindexes.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/widget_ref/pt/pttreegetselindexes.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/widget_ref/pt/pttreegetselindexes.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/widget_ref/pt/pttreegetselindexes.html on line 8
Fill a buffer with indexes
unsigned short *PtTreeGetSelIndexes(
PtWidget_t *widget,
unsigned short *buffer );
This function fills a buffer with indexes of all the selected items in the
PtTree widget.
The first item in the widget has an index of 1, not 0.
- If buffer is NULL,
the function allocates a buffer using malloc(), and the
buffer is zero-terminated.
- If buffer is non-NULL, the function adds zero
to the end only if there are no selected items in the widget.
|
Items that belong to collapsed subtrees aren't included in the buffer. |
A pointer to the buffer.
Photon
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
PtTree,
PtTreeClearSelection(),
PtTreeGetCurrent(),
PtTreeGoto(),
PtTreeItem_t,
PtTreeRootItem(),
PtTreeSelect(),
PtTreeSelectedItems(),
PtTreeSetSelIndexes(),
PtTreeShow(),
PtTreeUnselect(),
PtTreeUnselectNonBrothers()
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/widget_ref/pt/pttreegetselindexes.html on line 112
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/widget_ref/pt/pttreegetselindexes.html on line 112