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/wid_build/libs/ptanchorwidget.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/wid_build/libs/ptanchorwidget.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/wid_build/libs/ptanchorwidget.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/wid_build/libs/ptanchorwidget.html on line 8

PtAnchorWidget()

Anchor the provided widget

Synopsis:

void PtAnchorWidget( PtWidget_t *widget );

Arguments:

widget
A pointer to the widget to anchor.

Description:

This function anchors the provided widget. If the widget's anchor offsets have yet to be calculated, they're calculated along with the anchor offsets for all children. No other action takes place.

If the widget's anchor offsets have been calculated, the widget and all its children's dimensions are adjusted to honor their anchor flags.


Note: PtAnchorWidget() is used by PtApplyAnchors().

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtApplyAnchors(), PtCalcAnchorOffsets()


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/wid_build/libs/ptanchorwidget.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/wid_build/libs/ptanchorwidget.html on line 106