[Previous] [Contents] [Index] [Next]

PtAnchorWidget()

Anchor the provided widget

Synopsis:

void PtAnchorWidget( PtWidget_t *widget );

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 child containers. 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()


[Previous] [Contents] [Index] [Next]