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/lib_ref/pt/ptwidgetskip.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/lib_ref/pt/ptwidgetskip.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/lib_ref/pt/ptwidgetskip.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/lib_ref/pt/ptwidgetskip.html on line 8
Skip to a widget in the next hierarchy
PtWidget_t * PtWidgetSkip( PtWidget_t *root,
PtWidget_t *widget );
ph
This function skips the hierarchy rooted at widget but does
not return widgets any higher than root.
A pointer to a widget in the next hierarchy, or NULL if there
isn't another hierarchy to skip to.
// Set the fill color of all REALIZED widgets to white.
PtArg_t argt;
int flags, skip = 0;
PtSetArg( &argt, Pt_ARG_FILL_COLOR, Pt_WHITE, 0 );
for( wp = widget; wp;
wp = skip ? PtWidgetSkip(root, wp )
: PtWidgetFamily( root, wp ) ){
skip = 0;
flags = PtWidgetFlags( wp );
if( !( flags & Pt_REALIZED ) ) {
// completely skip this hierarchy.
skip = 1;
continue;
}
PtSetResources( wp, 1, &argt );
}
Photon
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
PtNextTopLevelWidget(),
PtWidgetBrotherBehind(),
PtWidgetBrotherInFront(),
PtWidgetChildBack(),
PtWidgetChildFront(),
PtWidgetFamily(),
PtWidgetTree(),
PtWidgetTreeTraverse()
“Ordering widgets”
in the Managing Widgets in Application Code chapter of the
Photon Programmer's Guide
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/lib_ref/pt/ptwidgetskip.html on line 125
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/lib_ref/pt/ptwidgetskip.html on line 125