Anchor the provided widget
void PtAnchorWidget( PtWidget_t *widget );
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.
PtAnchorWidget() is used by PtApplyAnchors(). |
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PtApplyAnchors(), PtCalcAnchorOffsets()