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/pttreeexpand.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/pttreeexpand.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/pttreeexpand.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/pttreeexpand.html on line 8
Expand an expandable item
int PtTreeExpand( PtWidget_t *tree,
PtTreeItem_t *item,
PhEvent_t *event );
This function expands the given subtree item. The
tree argument must point to the tree that contains the
item or can be NULL if the item doesn't
belong to any tree.
If the item is in the tree, the tree's
Pt_CB_TREE_STATE
callback is invoked before the item is expanded.
The event argument to this function is the event
that's passed to the callback.
Your callback function can prevent
the expansion by setting the expand field in the callback
structure to a nonzero value; zero means successful expansion.
The value assigned to the expand field in the callback structure,
or zero if the item isn't in a tree
or there's no Pt_CB_TREE_STATE callback that modifies the
expand field.
Photon
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
PtTree,
PtTreeCollapse(),
PtTreeGetCurrent(),
PtTreeGoto(),
PtTreeItem_t,
PtTreeShow()
PhEvent_t
in the Photon Library Reference
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/pttreeexpand.html on line 106
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/pttreeexpand.html on line 106